Use rwrite() to output the err_msg string.
authorWayne Davison <wayned@samba.org>
Sun, 19 Nov 2006 04:37:52 +0000 (04:37 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 19 Nov 2006 04:37:52 +0000 (04:37 +0000)
clientserver.c

index d27ced3..97f4fe1 100644 (file)
@@ -678,7 +678,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
 
        if (!ret || err_msg) {
                if (err_msg)
-                       rprintf(FERROR, err_msg);
+                       rwrite(FERROR, err_msg, strlen(err_msg));
                else
                        option_error();
                msleep(400);