Use rwrite() to output the err_msg string.

This commit is contained in:
Wayne Davison committed 2006-11-19 04:37:52 +00:00
1 parent 4a19c3b254
commit 9d33e6f7cf
1 file changed
+1 -1
+1 -1
View 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);