don't abort the server side if the file list is empty (perhaps because
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 1999 12:28:54 +0000 (12:28 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 1999 12:28:54 +0000 (12:28 +0000)
all files have been excluded).

main.c

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);
        }