a fix for directory listing with the dave/thursby client
authorAndrew Tridgell <tridge@samba.org>
Wed, 22 Aug 2001 02:47:38 +0000 (02:47 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 22 Aug 2001 02:47:38 +0000 (02:47 +0000)
(This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875)

source3/libsmb/clilist.c

index e7272176288a9d44ccba2ff06a2cd710c12fd096..6368674488c46fd245c7d2566002e539ea72954b 100644 (file)
@@ -217,7 +217,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
                }
 
                 if (cli_is_error(cli) || !rdata || !rparam) 
-                        return -1;
+                       break;
 
                if (total_received == -1) total_received = 0;