summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
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 bbb5963a..18db19a0 100644
--- a/log.c
+++ b/log.c
@@ -42,7 +42,7 @@ static char *timestring(void )
#endif
if (TimeBuf[strlen(TimeBuf)-1] == '\n') {
- TimeBuf[strlen(TimeBuf)-1] == 0;
+ TimeBuf[strlen(TimeBuf)-1] = 0;
}
return(TimeBuf);