From f8f090ad2471056ae77705ce55eddf06419ada3d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 22 Mar 2005 21:22:59 +0000 Subject: r5970: Fix old bug where ff_searchcount was being compared -1 ! This caused a filename to be processed twice. Jeremy. (This used to be commit 2ed7e30cbb3e194a08d5d9b46993652666193bec) --- 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 704babc919..5138bca8df 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -283,7 +283,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, /* 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