diff options
| author | Wayne Davison <wayned@samba.org> | 2005-01-17 22:25:53 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2005-01-17 22:25:53 +0000 |
| commit | 67a28eb2560121c413a4a00eb493dc0beb77c249 (patch) | |
| tree | 4390400a85b9fbba87597067c222765819175a1f /main.c | |
| parent | f5d96a6f80a176710f9a93a491ef859152ee1ef4 (diff) | |
| download | android_external_rsync-67a28eb2560121c413a4a00eb493dc0beb77c249.tar.gz android_external_rsync-67a28eb2560121c413a4a00eb493dc0beb77c249.tar.bz2 android_external_rsync-67a28eb2560121c413a4a00eb493dc0beb77c249.zip | |
Got rid of an unneeded assert().
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; - if (read_batch) { - assert(am_sender == 0); - } else { + if (!read_batch) { set_nonblocking(f_in); set_nonblocking(f_out); } |
