A brief msleep() in option_error() may be helpful to ensure that
authorWayne Davison <wayned@samba.org>
Mon, 20 Feb 2006 17:58:13 +0000 (17:58 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 20 Feb 2006 17:58:13 +0000 (17:58 +0000)
an option error always arrives intact from the remote rsync.

options.c

index d7c7cbec1f7753e42148ab09a5189c369c954fd6..df6e0bd195a4eca2aef05741d1da78f8ad3a6dbb 100644 (file)
--- a/options.c
+++ b/options.c
@@ -592,6 +592,7 @@ void option_error(void)
        }
 
        rprintf(FERROR, RSYNC_NAME ": %s", err_buf);
+       msleep(20);
 }