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:
ac32cdd
)
Avoid another checker warning.
author
Wayne Davison
<wayned@samba.org>
Sun, 13 Dec 2009 21:21:30 +0000
(13:21 -0800)
committer
Wayne Davison
<wayned@samba.org>
Sun, 13 Dec 2009 21:21:30 +0000
(13:21 -0800)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
2c162a6
..
7f023fc
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-776,7
+776,7
@@
static char *perform_io(size_t needed, int flags)
iobuf.in.len += n;
}
- if (
iobuf.out_fd >= 0
&& FD_ISSET(iobuf.out_fd, &w_fds)) {
+ if (
out
&& FD_ISSET(iobuf.out_fd, &w_fds)) {
size_t len = iobuf.raw_flushing_ends_before ? iobuf.raw_flushing_ends_before - out->pos : out->len;
int n;