Skip to content

Commit a3dec93

Browse files
Fix style
1 parent 6ed4e03 commit a3dec93

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/misc.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,8 @@ void putlog (int type, char *chname, const char *format, ...)
546546
tsl = strftime(stamp2, sizeof(stamp2) - 2, stamp, &t);
547547
stamp2[tsl++] = ' ';
548548
stamp2[tsl] = 0;
549-
}
550-
else
551-
*stamp2 = '\0';
549+
} else
550+
*stamp2 = 0;
552551

553552
/* Format log entry at offset 'tsl,' then i can prepend the timestamp */
554553
out = s + tsl;

0 commit comments

Comments
 (0)