projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06dc0e8
)
update.
author
Pekka Riikonen
<priikone@silcnet.org>
Wed, 21 Feb 2001 16:13:20 +0000
(16:13 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Wed, 21 Feb 2001 16:13:20 +0000
(16:13 +0000)
lib/silcclient/command.c
patch
|
blob
|
history
diff --git
a/lib/silcclient/command.c
b/lib/silcclient/command.c
index d61ef791728898ab96365d7690af94e3df6fb844..b56ad210b4023526d280c95b2556963ce4101842 100644
(file)
--- a/
lib/silcclient/command.c
+++ b/
lib/silcclient/command.c
@@
-1302,6
+1302,8
@@
SILC_CLIENT_CMD_FUNC(users)
SilcClientEntry e = chu->client;
char *m, tmp[80], len1;
+ memset(line, 0, sizeof(line_len));
+
if (strlen(e->nickname) + strlen(e->server) + 100 > line_len) {
silc_free(line);
line_len += strlen(e->nickname) + strlen(e->server) + 100;