From 35bdd146e4e92e0a8c99b54e243b6ad3ff1e11e0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Sep 1998 07:06:44 +0000 Subject: [PATCH] fixed timestring() bug --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1