diff options
Diffstat (limited to 'src/sh_log_parse_syslog.c')
-rw-r--r-- | src/sh_log_parse_syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sh_log_parse_syslog.c b/src/sh_log_parse_syslog.c index ae9f801..167abd2 100644 --- a/src/sh_log_parse_syslog.c +++ b/src/sh_log_parse_syslog.c @@ -93,7 +93,7 @@ struct sh_logrecord * sh_parse_syslog (sh_string * logline, void * fileinfo) int flag; size_t lengths[3]; - memset(&btime, '\0', sizeof(struct tm)); + memset(&btime, 0, sizeof(struct tm)); btime.tm_isdst = -1; /* This is RFC 3164. |