summaryrefslogtreecommitdiff
path: root/source3/libsmb/clilist.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-22 02:47:38 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-22 02:47:38 +0000
commit8d9cdf0d749413c1575b6cc44bfeed3f0605a526 (patch)
tree198b7956390a08ce87176fe4fd94109a91b8410a /source3/libsmb/clilist.c
parentdb0567a603473139a2e6e71327d590ca28a9b242 (diff)
downloadsamba-8d9cdf0d749413c1575b6cc44bfeed3f0605a526.tar.gz
samba-8d9cdf0d749413c1575b6cc44bfeed3f0605a526.tar.bz2
samba-8d9cdf0d749413c1575b6cc44bfeed3f0605a526.zip
a fix for directory listing with the dave/thursby client
(This used to be commit 5a3fd3317e0fedd72450660f031b5ba42a11b875)
Diffstat (limited to 'source3/libsmb/clilist.c')
-rw-r--r--source3/libsmb/clilist.c2
1 files changed, 1 insertions, 1 deletions
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;