1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s3:libsmb: clistr_pull_talloc() doesn't need base_ptr and flags2 with STR_ASCII

interpret_short_filename() always parses OEM_Strings (in DOS charset).

metze
This commit is contained in:
Stefan Metzmacher
2011-07-08 12:35:36 +02:00
parent 7d757d6ac3
commit fc7359befb

View File

@ -254,8 +254,8 @@ static bool interpret_short_filename(TALLOC_CTX *ctx,
finfo->mtime_ts.tv_nsec = finfo->atime_ts.tv_nsec = 0;
finfo->size = IVAL(p,26);
ret = clistr_pull_talloc(ctx,
cli->inbuf,
SVAL(cli->inbuf, smb_flg2),
NULL,
0,
&finfo->name,
p+30,
12,