Commit ba3357a1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(init_connection): Initialize use_utc.

(new_client): Ditto.
parent e3eb8e05
/*
* $Id: internal-connections.c,v 0.62 2003/08/16 11:29:01 ceder Exp $
* $Id: internal-connections.c,v 0.63 2003/08/16 17:38:18 ceder Exp $
* Copyright (C) 1991-1994, 1996-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -103,6 +103,7 @@ init_connection(Connection *conn)
conn->remote_ip = EMPTY_STRING;
conn->peer = NULL;
conn->protocol = '\0';
conn->use_utc = FALSE;
conn->parse_pos = 0;
conn->fnc_parse_pos = 0;
conn->array_parse_pos = 0;
......@@ -240,6 +241,7 @@ new_client(void)
c->username_valid = FALSE;
c->dns_done = FALSE;
c->blocked_by_dns = FALSE;
c->use_utc = FALSE;
return c;
}
......
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