1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-04 16:58:42 +03:00

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)
This commit is contained in:
Jeremy Allison 2006-06-02 00:52:11 +00:00 committed by Gerald (Jerry) Carter
parent 4fe9d1f897
commit 61d2dfcd30

View File

@ -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,"");