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
- added some notes about encryption and authentication to the man
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
587b3c7
..
004f4ce
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-472,7
+472,8
@@
void io_printf(int fd, const char *format, ...)
#if HAVE_VSNPRINTF
len = vsnprintf(buf, sizeof(buf)-1, format, ap);
#else
#if HAVE_VSNPRINTF
len = vsnprintf(buf, sizeof(buf)-1, format, ap);
#else
- len = vsprintf(buf, format, ap);
+ vsprintf(buf, format, ap);
+ len = strlen(buf);
#endif
va_end(ap);
#endif
va_end(ap);