Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
0b0b248d
Commit
0b0b248d
authored
Jun 09, 1996
by
David Byers
Browse files
(init_connection): Initialize info_parse_pos and info.
parent
6d3f1fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/internal-connections.c
View file @
0b0b248d
/*
* $Id: internal-connections.c,v 0.2
0
199
4
/06/
18 20:25:08 ced
er Exp $
* $Id: internal-connections.c,v 0.2
1
199
6
/06/
09 13:54:31 by
er
s
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.2
0
199
4
/06/
18 20:25:08 ced
er Exp $"
;
static
char
*
rcsid
=
"$Id: internal-connections.c,v 0.2
1
199
6
/06/
09 13:54:31 by
er
s
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment