svn commit: samba r5970 - in branches/SAMBA_3_0/source/libsmb: .
jra at samba.org
jra at samba.org
Tue Mar 22 21:23:01 GMT 2005
Author: jra
Date: 2005-03-22 21:22:59 +0000 (Tue, 22 Mar 2005)
New Revision: 5970
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5970
Log:
Fix old bug where ff_searchcount was being compared -1 ! This caused a
filename to be processed twice.
Jeremy.
Modified:
branches/SAMBA_3_0/source/libsmb/clilist.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clilist.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clilist.c 2005-03-22 21:22:55 UTC (rev 5969)
+++ branches/SAMBA_3_0/source/libsmb/clilist.c 2005-03-22 21:22:59 UTC (rev 5970)
@@ -283,7 +283,7 @@
/* put in a length for the last entry, to ensure we can chain entries
into the next packet */
- for (p2=p,i=0;i<(ff_searchcount-1);i++) {
+ for (p2=p,i=0;i<ff_searchcount;i++) {
p2 += interpret_long_filename(cli,info_level,p2,&finfo);
}
SSVAL(p2,0,data_len - PTR_DIFF(p2,p));
More information about the samba-cvs
mailing list