Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suggested patch from Jim Ogilvie <jogilvie@us.ibm.com> to print out the
[rsync/rsync.git]
/
log.c
diff --git
a/log.c
b/log.c
index
f07b64b
..
532803f
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-342,6
+342,8
@@
void rsyserr(enum logcode code, int errcode, const char *format, ...)
len = vsnprintf(buf, sizeof(buf), format, ap);
va_end(ap);
len = vsnprintf(buf, sizeof(buf), format, ap);
va_end(ap);
+ /* TODO: Put in RSYNC_NAME at the start. */
+
if ((size_t) len > sizeof(buf)-1)
exit_cleanup(RERR_MESSAGEIO);
if ((size_t) len > sizeof(buf)-1)
exit_cleanup(RERR_MESSAGEIO);