Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f480b
)
Made the new %M escape handle multiple spaces in the timestamp
author
Wayne Davison
<wayned@samba.org>
Fri, 3 Feb 2006 22:41:19 +0000
(22:41 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 3 Feb 2006 22:41:19 +0000
(22:41 +0000)
(which can occur if the user's system doesn't have strftime()).
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
4f53107
..
dad939b
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-467,8
+467,8
@@
static void log_formatted(enum logcode code, char *format, char *op,
case 'M':
n = timestring(file->modtime);
{
- char *cp
= strchr(n, ' ')
;
-
if (cp
)
+ char *cp;
+
while ((cp = strchr(n, ' ')) != NULL
)
*cp = '-';
}
break;