Commit 9d33e6f7 authored by Wayne Davison's avatar Wayne Davison

Use rwrite() to output the err_msg string.

parent 4a19c3b2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment