diff options
Diffstat (limited to 'lib/log.cc')
-rw-r--r-- | lib/log.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ int logbuf::overflow(int c) { *ptr = '\0'; syslog(level, buf); ptr = buf; + len = 0; return 0; } if ((len + 2) >= sizeof(buf)) |