summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-06-07 22:05:22 +0000
committerWayne Davison <wayned@samba.org>2004-06-07 22:05:22 +0000
commit8c0d6a8432ffced11dadfb7ea6216c42806e5366 (patch)
tree24b401f0ac920d625440c7a66819639295fd2bbf /options.c
parent553f93758afa55cb9cc38102013d4751cc601a4a (diff)
downloadrsync-8c0d6a8432ffced11dadfb7ea6216c42806e5366.tar.gz
rsync-8c0d6a8432ffced11dadfb7ea6216c42806e5366.tar.bz2
rsync-8c0d6a8432ffced11dadfb7ea6216c42806e5366.zip
Got rid of some am_daemon games in option_error().
Diffstat (limited to 'options.c')
-rw-r--r--options.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/options.c b/options.c
index f686b195..34c131ca 100644
--- 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;
}