aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-01-17 22:25:53 +0000
committerWayne Davison <wayned@samba.org>2005-01-17 22:25:53 +0000
commit67a28eb2560121c413a4a00eb493dc0beb77c249 (patch)
tree4390400a85b9fbba87597067c222765819175a1f /main.c
parentf5d96a6f80a176710f9a93a491ef859152ee1ef4 (diff)
downloadandroid_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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.c b/main.c
index 603bd0c5..b090f668 100644
--- 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;
- if (read_batch) {
- assert(am_sender == 0);
- } else {
+ if (!read_batch) {
set_nonblocking(f_in);
set_nonblocking(f_out);
}