Got rid of some am_daemon games in option_error().
authorWayne Davison <wayned@samba.org>
Mon, 7 Jun 2004 22:05:22 +0000 (22:05 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 7 Jun 2004 22:05:22 +0000 (22:05 +0000)
options.c

index f686b19..34c131c 100644 (file)
--- a/options.c
+++ b/options.c
@@ -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;
 }