Restored changes accidentally backed out by Dave Dykstra in previous revision.
[rsync/rsync.git] / main.c
diff --git a/main.c b/main.c
index f61ead4..b571b3a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -462,11 +462,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
        io_flush();
 
        io_set_error_fd(-1);
-#ifdef DELAY_BEFORE_SIGNALING_RECEIVER
-       /* workaround for cygwin hangs; wait to make sure child is ready */
-       msleep(100); 
        kill(pid, SIGUSR2);
-#endif
        wait_process(pid, &status);
        return status;
 }