Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
292e43fc
Commit
292e43fc
authored
Aug 05, 2000
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(init_connection): Initialize dummy_aux_item.data.
(kill_client): Check dummy_aux_item.data and aux_item.data.
parent
917ab423
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/server/internal-connections.c
src/server/internal-connections.c
+9
-2
No files found.
src/server/internal-connections.c
View file @
292e43fc
/*
* $Id: internal-connections.c,v 0.4
2 1999/06/25 15:49:44
ceder Exp $
* $Id: internal-connections.c,v 0.4
3 2000/08/05 21:04:32
ceder Exp $
* Copyright (C) 1991-1994, 1996-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -35,7 +35,7 @@
static
const
char
*
rcsid
=
"$Id: internal-connections.c,v 0.4
2 1999/06/25 15:49:44
ceder Exp $"
;
rcsid
=
"$Id: internal-connections.c,v 0.4
3 2000/08/05 21:04:32
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -125,6 +125,7 @@ init_connection(Connection *conn)
conn
->
misc_info_list
.
no_of_misc
=
0
;
conn
->
misc_info_list
.
misc
=
NULL
;
conn
->
aux_item
.
data
=
EMPTY_STRING
;
conn
->
dummy_aux_item
.
data
=
EMPTY_STRING
;
conn
->
aux_item_list
.
items
=
NULL
;
conn
->
aux_item_list
.
length
=
0
;
conn
->
c_local_text_no_p
=
NULL
;
...
...
@@ -284,6 +285,12 @@ kill_client(Connection *cp)
if
(
cp
->
misc_info_list
.
misc
!=
NULL
||
cp
->
c_local_text_no_p
!=
NULL
)
kom_log
(
"kill_client(): unexpected remaining data.
\n
"
);
if
(
!
s_empty
(
cp
->
aux_item
.
data
))
kom_log
(
"kill_client(): unexpected aux_item string remains.
\n
"
);
if
(
!
s_empty
(
cp
->
dummy_aux_item
.
data
))
kom_log
(
"kill_client(): unexpected dummy_aux_item string remains.
\n
"
);
/* FIXME: Check for remaining data in aux-item structures */
sfree
(
cp
);
...
...
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