X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/99218d821bd814dbb10646bd0298274c947ae471..c7b1a56b3d70fb91b20702f169ae1af9b68de8e9:/options.c diff --git a/options.c b/options.c index f686b195..26b26ab5 100644 --- a/options.c +++ b/options.c @@ -141,7 +141,7 @@ static int daemon_opt; /* sets am_daemon after option error-reporting */ static int modify_window_set; /** Local address to bind. As a character string because it's - * interpreted by the IPv6 layer: should be a numeric IP4 or ip6 + * interpreted by the IPv6 layer: should be a numeric IP4 or IP6 * address, or a hostname. **/ char *bind_address; @@ -411,17 +411,12 @@ static char err_buf[200]; **/ void option_error(void) { - int save_daemon = am_daemon; - if (!err_buf[0]) { strcpy(err_buf, "Error parsing options: " "option may be supported on client but not on server?\n"); } - rwrite(FLOG, err_buf, strlen(err_buf)); - am_daemon = 0; rprintf(FERROR, RSYNC_NAME ": %s", err_buf); - am_daemon = save_daemon; }