From: Wayne Davison Date: Tue, 15 Apr 2008 15:32:41 +0000 (-0700) Subject: Fixed the %M escape, which was munging the wrong spaces. X-Git-Tag: v3.0.3pre1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2681d42ff564ec2d000383ee5c5f43cc3f283d8;p=thirdparty%2Frsync.git Fixed the %M escape, which was munging the wrong spaces. --- 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':