diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-02 00:52:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:17 -0500 |
commit | 61d2dfcd30a0602c94e84dda7fe56b671934e66b (patch) | |
tree | b051b7aacc43b83f6b8add546e5297f14fdc2786 | |
parent | 4fe9d1f89794ab4576baebe1ba6038d0ca9c8ddb (diff) | |
download | samba-61d2dfcd30a0602c94e84dda7fe56b671934e66b.tar.gz samba-61d2dfcd30a0602c94e84dda7fe56b671934e66b.tar.bz2 samba-61d2dfcd30a0602c94e84dda7fe56b671934e66b.zip |
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 <Guenter.Kukkukk@kukkukk.com>
for reporting this problem and testing the fix.
Jeremy.
(This used to be commit 65d4dfbd6045a4e3f9eaf520c70ef29ff7ddee82)
-rw-r--r-- | source3/libsmb/clilist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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,""); |