Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553f937
)
Got rid of some am_daemon games in option_error().
author
Wayne Davison
<wayned@samba.org>
Mon, 7 Jun 2004 22:05:22 +0000
(22:05 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 7 Jun 2004 22:05:22 +0000
(22:05 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/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;
}