summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-23 12:21:17 +0200
committerVolker Lendecke <vl@samba.org>2011-05-23 15:45:37 +0200
commitb1a7bdb93c7fda54a29284f1691de1dc4f3bbf6b (patch)
tree9171ee47b723bf2d5cf5ceb1d1eb6542518a0c38 /source3/libsmb
parent9514f96856ccf822b683b5362fd2eb4a4e9e418a (diff)
downloadsamba-b1a7bdb93c7fda54a29284f1691de1dc4f3bbf6b.tar.gz
samba-b1a7bdb93c7fda54a29284f1691de1dc4f3bbf6b.tar.bz2
samba-b1a7bdb93c7fda54a29284f1691de1dc4f3bbf6b.zip
s3: Remove two false references to cli->inbuf
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 8d3fec36ec..a4a3c11559 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2646,10 +2646,10 @@ static void cli_negprot_done(struct tevent_req *subreq)
}
/* work out if they sent us a workgroup */
if (!(cli->capabilities & CAP_EXTENDED_SECURITY) &&
- smb_buflen(cli->inbuf) > 8) {
+ smb_buflen(inbuf) > 8) {
ssize_t ret;
status = smb_bytes_talloc_string(
- cli, (char *)cli->inbuf, &cli->server_domain,
+ cli, (char *)inbuf, &cli->server_domain,
bytes + 8, num_bytes - 8, &ret);
if (tevent_req_nterror(req, status)) {
return;