From 8d9cdf0d749413c1575b6cc44bfeed3f0605a526 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 22 Aug 2001 02:47:38 +0000 Subject: a fix for directory listing with the dave/thursby client (This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875) --- source3/libsmb/clilist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/clilist.c') diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index e727217628..6368674488 100644 --- a/source3/libsmb/clilist.c +++ b/source3/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; -- cgit