summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-20 23:29:32 +0100
committerVolker Lendecke <vl@samba.org>2009-12-20 23:30:43 +0100
commit1b5389ab2376f7dbfd3cb2cbd6b9603d2dc0ef9d (patch)
tree499033491c865afd2d36b17ad107923705723056 /source3/libsmb
parent4b7a6b1f8ff9ffe984612e1a303473d7a0865c0c (diff)
downloadsamba-1b5389ab2376f7dbfd3cb2cbd6b9603d2dc0ef9d.tar.gz
samba-1b5389ab2376f7dbfd3cb2cbd6b9603d2dc0ef9d.tar.bz2
samba-1b5389ab2376f7dbfd3cb2cbd6b9603d2dc0ef9d.zip
s3: Fix an error case in cli_negprot
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 112143ca96..715ea91382 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1671,6 +1671,7 @@ static void cli_negprot_done(struct tevent_req *subreq)
status = cli_smb_recv(subreq, 1, &wct, &vwv, &num_bytes, &bytes);
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(subreq);
+ tevent_req_nterror(req, status);
return;
}