Commit 37e3fc68 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(init_connection): Removed handling of c_local_text_no_p.

(kill_client): Ditto.  But do check for left-over data in num_list.
parent 3571df44
/*
* $Id: internal-connections.c,v 0.63 2003/08/16 17:38:18 ceder Exp $
* $Id: internal-connections.c,v 0.64 2003/08/20 17:40:27 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -134,7 +134,6 @@ init_connection(Connection *conn)
conn->aux_item_list.length = 0;
conn->aux_item.data = EMPTY_STRING;
conn->dummy_aux_item.data = EMPTY_STRING;
conn->c_local_text_no_p = NULL;
conn->read_range_list.ranges = NULL;
conn->read_range_list.length = 0;
init_priv_bits(&conn->priv_bits);
......@@ -308,8 +307,8 @@ kill_client(Connection *cp)
if (cp->misc_info_list.misc != NULL)
kom_log("kill_client(): unexpected misc_info_list remains.\n");
if (cp->c_local_text_no_p != NULL)
kom_log("kill_client(): unexpected local_text_no remains.\n");
if (cp->num_list.data != NULL)
kom_log("kill_client(): unexpected num_list remains.\n");
if (!s_empty(cp->aux_item.data))
kom_log("kill_client(): unexpected aux_item string remains.\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment