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
(from parent 1:
d52a22e
)
If a daemon prints an error message of @ERROR, have the client treat the
author
David Dykstra
<dwd@samba.org>
Mon, 18 Feb 2002 18:29:48 +0000
(18:29 +0000)
committer
David Dykstra
<dwd@samba.org>
Mon, 18 Feb 2002 18:29:48 +0000
(18:29 +0000)
message as an FERROR rather than an FINFO.
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
1cbabd3
..
2bab6aa
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-129,7
+129,10
@@
int start_socket_client(char *host, char *path, int argc, char *argv[])
if (strcmp(line,"@RSYNCD: EXIT") == 0) exit(0);
- rprintf(FINFO,"%s\n", line);
+ if (strncmp(line, "@ERROR", 6) == 0)
+ rprintf(FERROR,"%s\n", line);
+ else
+ rprintf(FINFO,"%s\n", line);
}
kludge_around_eof = False;