From 61d2dfcd30a0602c94e84dda7fe56b671934e66b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 2 Jun 2006 00:52:11 +0000 Subject: r15997: Fix bug in OS/2 Warp - it doesn't set the ff_last offset correctly when doing info level 1 directory scans. Thanks to Guenter Kukkukk for reporting this problem and testing the fix. Jeremy. (This used to be commit 65d4dfbd6045a4e3f9eaf520c70ef29ff7ddee82) --- source3/libsmb/clilist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index 1bd30c36e3..9ab05d2b4a 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -330,7 +330,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, } } - if (ff_lastname > 0) { + if (ff_searchcount > 0) { pstrcpy(mask, finfo.name); } else { pstrcpy(mask,""); -- cgit