projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207bb27
)
Still bug fix in silc_log_format :)
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 17 Jul 2000 16:46:37 +0000
(16:46 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 17 Jul 2000 16:46:37 +0000
(16:46 +0000)
lib/silccore/silclog.c
patch
|
blob
|
history
diff --git
a/lib/silccore/silclog.c
b/lib/silccore/silclog.c
index 0b1119fc445c53b49a38bc429081634799f7a1b3..b1ad9186d332d234f0a89ff21c2558415496da89 100644
(file)
--- a/
lib/silccore/silclog.c
+++ b/
lib/silccore/silclog.c
@@
-20,6
+20,9
@@
/*
* $Id$
* $Log$
+ * Revision 1.5 2000/07/17 16:46:37 priikone
+ * Still bug fix in silc_log_format :)
+ *
* Revision 1.4 2000/07/17 16:44:57 priikone
* Buffer overflow bug fixe in silc_log_format.
*
@@
-65,7
+68,7
@@
char *silc_log_format(char *fmt, ...)
va_list args;
static char buf[8192];
- memset(buf, 0, sizeof(buf);
+ memset(buf, 0, sizeof(buf)
)
;
va_start(args, fmt);
vsnprintf(buf, sizeof(buf) - 1, fmt, args);
va_end(args);