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:
24986ab
)
don't abort the server side if the file list is empty (perhaps because
author
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 1999 12:28:54 +0000
(12:28 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 1999 12:28:54 +0000
(12:28 +0000)
all files have been excluded).
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
0eab26b
..
35f6400
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-355,8
+355,8
@@
static void do_server_recv(int f_in, int f_out, int argc,char *argv[])
recv_exclude_list(f_in);
flist = recv_file_list(f_in);
- if (!flist
|| flist->count == 0
) {
- rprintf(FERROR,"server_recv:
nothing to do
\n");
+ if (!flist) {
+ rprintf(FERROR,"server_recv:
recv_file_list error
\n");
exit_cleanup(RERR_FILESELECT);
}