1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: Remove two false references to cli->inbuf

This commit is contained in:
Volker Lendecke 2011-05-23 12:21:17 +02:00
parent 9514f96856
commit b1a7bdb93c

View File

@ -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;