svn commit: samba r24544 - in branches/SAMBA_3_2_0/source/libsmb: .
derrell at samba.org
derrell at samba.org
Sat Aug 18 17:29:50 GMT 2007
Author: derrell
Date: 2007-08-18 17:29:49 +0000 (Sat, 18 Aug 2007)
New Revision: 24544
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24544
Log:
Apply missing portion of correction for bug 4750
Modified:
branches/SAMBA_3_2_0/source/libsmb/libsmbclient.c
Changeset:
Modified: branches/SAMBA_3_2_0/source/libsmb/libsmbclient.c
===================================================================
--- branches/SAMBA_3_2_0/source/libsmb/libsmbclient.c 2007-08-18 17:29:39 UTC (rev 24543)
+++ branches/SAMBA_3_2_0/source/libsmb/libsmbclient.c 2007-08-18 17:29:49 UTC (rev 24544)
@@ -3546,6 +3546,11 @@
}
+ if (offset == -1) { /* Seek to the end of the list */
+ dir->dir_next = NULL;
+ return 0;
+ }
+
/* Now, run down the list and make sure that the entry is OK */
/* This may need to be changed if we change the format of the list */
More information about the samba-cvs
mailing list