summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-05 14:05:58 +0200
committerVolker Lendecke <vl@samba.org>2010-08-05 14:53:54 +0200
commitee11bb8748afebf2b42876a59da210f628613a02 (patch)
tree7388d0f78372795969f234b4363936f921b51afe
parent869a19f06c0ef7b106dfbbc3db1ed1091a1a4259 (diff)
downloadsamba-ee11bb8748afebf2b42876a59da210f628613a02.tar.gz
samba-ee11bb8748afebf2b42876a59da210f628613a02.tar.bz2
samba-ee11bb8748afebf2b42876a59da210f628613a02.zip
s3: Remove some direct cli->inbuf references in interpret_long_filename
-rw-r--r--source3/libsmb/clilist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index e3f050a822..1a8b79be34 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -82,7 +82,7 @@ static size_t interpret_long_filename(TALLOC_CTX *ctx,
finfo->mode = CVAL(p,24);
len = CVAL(p, 26);
p += 27;
- p += align_string(cli->inbuf, p, 0);
+ p += align_string(base_ptr, p, 0);
/* We can safely use len here (which is required by OS/2)
* and the NAS-BASIC server instead of +2 or +1 as the
@@ -189,7 +189,7 @@ static size_t interpret_long_filename(TALLOC_CTX *ctx,
/* stupid NT bugs. grr */
int flags = 0;
if (p[1] == 0 && namelen > 1) flags |= STR_UNICODE;
- clistr_pull(cli->inbuf, finfo->short_name, p,
+ clistr_pull(base_ptr, finfo->short_name, p,
sizeof(finfo->short_name),
slen, flags);
}