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:
fe16d9a
)
Make sure rwrite() can handle any logcode value in --msgs2stderr mode.
author
Wayne Davison
<wayned@samba.org>
Sun, 1 Nov 2009 21:26:15 +0000
(13:26 -0800)
committer
Wayne Davison
<wayned@samba.org>
Sun, 1 Nov 2009 21:26:15 +0000
(13:26 -0800)
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index
7be4cec
..
6fbdfc7
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-330,13
+330,17
@@
output_msg:
got_xfer_error = 1;
/* FALL THROUGH */
case FERROR:
+ case FERROR_UTF8:
+ case FERROR_SOCKET:
case FWARNING:
f = stderr;
break;
+ case FLOG:
case FINFO:
case FCLIENT:
break;
default:
+ fprintf(stderr, "Unknown logcode in rwrite(): %d\n", (int)code);
exit_cleanup(RERR_MESSAGEIO);
}