mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
rpc_host: We have tevent_req_oom() for ENOMEM
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
8732561396
commit
a924e2cb20
@ -998,7 +998,7 @@ static struct tevent_req *rpc_host_bind_read_send(
|
|||||||
peer_addr,
|
peer_addr,
|
||||||
&state->client->npa_info5);
|
&state->client->npa_info5);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
tevent_req_error(req, ENOMEM);
|
tevent_req_oom(req);
|
||||||
return tevent_req_post(req, ev);
|
return tevent_req_post(req, ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user