Commit 917ab423 authored by Per Cederqvist's avatar Per Cederqvist

(prot_a_init): Initialize dummy_aux_item.data and aux_item.data.

parent 92be1a0c
/* /*
* $Id: prot-a.c,v 0.60 1999/05/24 09:34:33 ceder Exp $ * $Id: prot-a.c,v 0.61 2000/08/05 21:04:17 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association. * Copyright (C) 1991-1999 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#endif #endif
static const char * static const char *
rcsid = "$Id: prot-a.c,v 0.60 1999/05/24 09:34:33 ceder Exp $"; rcsid = "$Id: prot-a.c,v 0.61 2000/08/05 21:04:17 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -327,6 +327,8 @@ prot_a_init(Connection *conn) ...@@ -327,6 +327,8 @@ prot_a_init(Connection *conn)
conn->misc_info_list.no_of_misc = 0; conn->misc_info_list.no_of_misc = 0;
conn->aux_item_list.items = NULL; conn->aux_item_list.items = NULL;
conn->aux_item_list.length = 0; 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->c_local_text_no_p = NULL;
init_priv_bits(&conn->priv_bits); init_priv_bits(&conn->priv_bits);
init_conf_type(&conn->conf_type); init_conf_type(&conn->conf_type);
......
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