svn commit: samba r2495 - in branches/SAMBA_4_0/source/libcli: .
tridge at samba.org
tridge at samba.org
Wed Sep 22 05:13:33 GMT 2004
Author: tridge
Date: 2004-09-22 05:13:32 +0000 (Wed, 22 Sep 2004)
New Revision: 2495
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/libcli&rev=2495&nolog=1
Log:
cope properly with STATUS_NO_MORE_FILES in old search client code
Modified:
branches/SAMBA_4_0/source/libcli/clilist.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/clilist.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/clilist.c 2004-09-22 05:13:00 UTC (rev 2494)
+++ branches/SAMBA_4_0/source/libcli/clilist.c 2004-09-22 05:13:32 UTC (rev 2495)
@@ -300,7 +300,10 @@
&next_parms,
(void*)&state,
smbcli_list_old_callback);
-
+
+ if (NT_STATUS_EQUAL(status, STATUS_NO_MORE_FILES)) {
+ break;
+ }
if (!NT_STATUS_IS_OK(status)) {
talloc_destroy(state.mem_ctx);
return -1;
More information about the samba-cvs
mailing list