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:
f27b53f
)
get null termination right in logging
author
Andrew Tridgell
<tridge@samba.org>
Fri, 30 Oct 1998 02:36:05 +0000
(
02:36
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 30 Oct 1998 02:36:05 +0000
(
02:36
+0000)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
93d7a17
..
d1da461
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-235,7
+235,7
@@
static void log_formatted(char *op, struct file_struct *file)
}
if (l != 2) {
- memmove(s+(l-1), s+1, strlen(s+1));
+ memmove(s+(l-1), s+1, strlen(s+1)
+1
);
}
memcpy(p, n, l);