summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-09-19 15:36:02 +0000
committernirav <nirav@teisuu.com>2019-09-19 15:44:14 +0000
commitd5f4022408249c5a513ae795b7b360854bd75a6c (patch)
treead20cbe6aba24649647b7aa0520f25392571aeeb /log.c
parente985bfa6b8facac58da9a20c3c840498e2517bb5 (diff)
downloadgopherd-d5f4022408249c5a513ae795b7b360854bd75a6c.tar.gz
gopherd-d5f4022408249c5a513ae795b7b360854bd75a6c.zip
Update
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index c543238..eab204c 100644
--- a/log.c
+++ b/log.c
@@ -10,7 +10,7 @@
static int save;
static time_t now;
static struct tm *tm;
-static char buf[25]; /* "2011-10-08T07:07:09+1111" */
+static char buf[25]; /* strlen("2011-10-08T07:07:09+1111") + 1 */
static va_list ap;
static enum loglevel def_loglevel = LOG_DEBUG;