Eliminate extraneous "done" messages in verbose mode. Problem reported by
authorDavid Dykstra <dwd@samba.org>
Thu, 14 Mar 2002 21:20:20 +0000 (21:20 +0000)
committerDavid Dykstra <dwd@samba.org>
Thu, 14 Mar 2002 21:20:20 +0000 (21:20 +0000)
Lee Eakin.

flist.c

diff --git a/flist.c b/flist.c
index 045c2f2..ead4966 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -988,8 +988,9 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
                send_file_entry(NULL, f, 0);
        }
 
                send_file_entry(NULL, f, 0);
        }
 
-       if (show_filelist_p())
+       if (show_filelist_p() && f != -1) {
                finish_filelist_progress(flist);
                finish_filelist_progress(flist);
+       }
 
        clean_flist(flist, 0);
 
 
        clean_flist(flist, 0);