From 4c36a13ef2b76608c3647f7752c5a03db58ba582 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 6 Apr 1999 12:28:54 +0000 Subject: [PATCH] don't abort the server side if the file list is empty (perhaps because all files have been excluded). --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 0eab26ba..35f64007 100644 --- 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); } -- 2.34.1