diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-26 13:29:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-26 13:37:40 +0100 |
commit | fc4095436f30efd27c2d06592923de031a4853b2 (patch) | |
tree | 75e2724d202c7e0443cef10ef518332e200fe32f | |
parent | 51d8a4e046aaa6e5aa7ec734c068a382f5731cee (diff) | |
download | samba-fc4095436f30efd27c2d06592923de031a4853b2.tar.gz samba-fc4095436f30efd27c2d06592923de031a4853b2.tar.bz2 samba-fc4095436f30efd27c2d06592923de031a4853b2.zip |
s3: Fix Coverity ID 2326, CHECKED_RETURN
-rw-r--r-- | source3/libsmb/cliconnect.c | 2 |
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); |