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:
f5d96a6
)
Got rid of an unneeded assert().
author
Wayne Davison
<wayned@samba.org>
Mon, 17 Jan 2005 22:25:53 +0000
(22:25 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 17 Jan 2005 22:25:53 +0000
(22:25 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
603bd0c
..
b090f66
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-671,9
+671,7
@@
int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
char *local_name = NULL;
cleanup_child_pid = pid;
char *local_name = NULL;
cleanup_child_pid = pid;
- if (read_batch) {
- assert(am_sender == 0);
- } else {
+ if (!read_batch) {
set_nonblocking(f_in);
set_nonblocking(f_out);
}
set_nonblocking(f_in);
set_nonblocking(f_out);
}