Commit 238078d9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(init_connection): Initialize kill_pending.

(new_client): Ditto.
parent 836a22b3
/*
* $Id: internal-connections.c,v 0.56 2003/07/12 22:26:32 ceder Exp $
* $Id: internal-connections.c,v 0.57 2003/08/01 09:37:02 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -130,6 +130,7 @@ init_connection(Connection *conn)
conn->unparsed = EMPTY_STRING;
conn->first_to_parse = 0;
conn->more_to_parse = FALSE;
conn->kill_pending = FALSE;
conn->penalty = 0;
conn->penalty_generation = 0;
conn->active_time = current_time;
......@@ -203,6 +204,7 @@ new_client(void)
c->protocol = '\0'; /* Reserved to mean 'no protocol specified yet' */
c->unparsed = EMPTY_STRING;
c->first_to_parse = 0;
c->kill_pending = FALSE;
c->more_to_parse = TRUE;
c->active_time = current_time;
c->pers_no = 0;
......
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