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:
2f24fb1
)
Fixed a typo.
author
Wayne Davison
<wayned@samba.org>
Tue, 15 Feb 2005 03:38:04 +0000
(
03:38
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 15 Feb 2005 03:38:04 +0000
(
03:38
+0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
256e70e
..
9d915c3
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-418,7
+418,8
@@
static void log_formatted(enum logcode code,
l = strlen(n);
if (l + ((int)(s - &buf[0])) >= sizeof(buf)) {
l = strlen(n);
if (l + ((int)(s - &buf[0])) >= sizeof(buf)) {
- rprintf(FERROR,"buffer overflow expanding %%%c -- exiting\n",
+ rprintf(FERROR,
+ "buffer overflow expanding %%%c -- exiting\n",
p[0]);
exit_cleanup(RERR_MESSAGEIO);
}
p[0]);
exit_cleanup(RERR_MESSAGEIO);
}
@@
-428,7
+429,7
@@
static void log_formatted(enum logcode code,
memmove(s+(l-1), s+1, strlen(s+1)+1);
}
memmove(s+(l-1), s+1, strlen(s+1)+1);
}
- /* Copy in n but NOT its nul, because the format sting
+ /* Copy in n but NOT its nul, because the format st
r
ing
* probably continues after this. */
memcpy(p, n, l);
* probably continues after this. */
memcpy(p, n, l);