From fc7359befb8939691d384824760ade97e6a74803 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Jul 2011 12:35:36 +0200 Subject: 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 --- source3/libsmb/clilist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index 2c8a328845..1aa5699be5 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -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, -- cgit