summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-09 07:06:44 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-09 07:06:44 +0000
commit35bdd146e4e92e0a8c99b54e243b6ad3ff1e11e0 (patch)
treedb566fa162e98e89c139a5cc755c825992760290 /log.c
parent8d249b635c57014aa96aa257bfe0221b43dff7d2 (diff)
downloadrsync-35bdd146e4e92e0a8c99b54e243b6ad3ff1e11e0.tar.gz
fixed timestring() bug
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);