summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-26 13:29:37 +0100
committerVolker Lendecke <vl@samba.org>2011-03-26 13:37:40 +0100
commitfc4095436f30efd27c2d06592923de031a4853b2 (patch)
tree75e2724d202c7e0443cef10ef518332e200fe32f /source3/libsmb
parent51d8a4e046aaa6e5aa7ec734c068a382f5731cee (diff)
downloadsamba-fc4095436f30efd27c2d06592923de031a4853b2.tar.gz
samba-fc4095436f30efd27c2d06592923de031a4853b2.tar.bz2
samba-fc4095436f30efd27c2d06592923de031a4853b2.zip
s3: Fix Coverity ID 2326, CHECKED_RETURN
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 564cf8b3c7..819d83570d 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -665,7 +665,7 @@ static struct tevent_req *cli_sesssetup_blob_send(TALLOC_CTX *mem_ctx,
MIN(cli->max_xmit - BASE_SESSSETUP_BLOB_PACKET_SIZE, 0xFFFF);
if (!cli_sesssetup_blob_next(state, &subreq)) {
- tevent_req_nomem(NULL, req);
+ tevent_req_nterror(req, NT_STATUS_NO_MEMORY);
return tevent_req_post(req, ev);
}
tevent_req_set_callback(subreq, cli_sesssetup_blob_done, req);