From: Andrew Tridgell Date: Wed, 22 Aug 2001 02:47:38 +0000 (+0000) Subject: a fix for directory listing with the dave/thursby client X-Git-Tag: samba-2.2.5pre1~1555^2~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a3fd3317e0fedd72450660f031b5ba42a11b875;p=thirdparty%2Fsamba.git a fix for directory listing with the dave/thursby client --- diff --git a/source/libsmb/clilist.c b/source/libsmb/clilist.c index e7272176288..6368674488c 100644 --- a/source/libsmb/clilist.c +++ b/source/libsmb/clilist.c @@ -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;