Commit 0b0b248d authored by David Byers's avatar David Byers
Browse files

(init_connection): Initialize info_parse_pos and info.

parent 6d3f1fe5
/*
* $Id: internal-connections.c,v 0.20 1994/06/18 20:25:08 ceder Exp $
* $Id: internal-connections.c,v 0.21 1996/06/09 13:54:31 byers Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* Abstract routines on the data type Connection.
*/
static char *rcsid = "$Id: internal-connections.c,v 0.20 1994/06/18 20:25:08 ceder Exp $";
static char *rcsid = "$Id: internal-connections.c,v 0.21 1996/06/09 13:54:31 byers Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -87,6 +87,7 @@ init_connection(Connection *conn)
conn->array_parse_pos = 0;
conn->struct_parse_pos = 0;
conn->string_parse_pos = 0;
conn->info_parse_pos = 0;
conn->ref_no = 0;
conn->function = call_fnc_login_old;
conn->num0 = 0;
......@@ -104,6 +105,13 @@ init_connection(Connection *conn)
conn->last_request = NO_TIME;
conn->session_no = 0;
conn->info.pers_pres_conf = 0;
conn->info.conf_pres_conf = 0;
conn->info.motd_conf = 0;
conn->info.kom_news_conf = 0;
conn->info.motd_of_lyskom = 0;
conn->info.version = 0;
init_priv_bits(&conn->priv_bits);
init_conf_type(&conn->conf_type);
init_struct_tm(&conn->time);
......
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