aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-04-15 08:32:41 -0700
committerWayne Davison <wayned@samba.org>2008-04-15 08:32:41 -0700
commitf2681d42ff564ec2d000383ee5c5f43cc3f283d8 (patch)
tree33eccc91b5e4ee71795482a53e0b6986be19161b /log.c
parent774d1c367bbde80c2d9ce8875048860c8c0b5272 (diff)
downloadandroid_external_rsync-f2681d42ff564ec2d000383ee5c5f43cc3f283d8.tar.gz
android_external_rsync-f2681d42ff564ec2d000383ee5c5f43cc3f283d8.tar.bz2
android_external_rsync-f2681d42ff564ec2d000383ee5c5f43cc3f283d8.zip
Fixed the %M escape, which was munging the wrong spaces.
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 b5bd9667..f486db0d 100644
--- a/log.c
+++ b/log.c
@@ -517,7 +517,7 @@ static void log_formatted(enum logcode code, const char *format, const char *op,
break;
case 'M':
n = c = timestring(file->modtime);
- while ((c = strchr(p, ' ')) != NULL)
+ while ((c = strchr(c, ' ')) != NULL)
*c = '-';
break;
case 'B':