summaryrefslogtreecommitdiff
path: root/source3/lib/fncall.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/fncall.c')
-rw-r--r--source3/lib/fncall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/fncall.c b/source3/lib/fncall.c
index 4a013e9ee6..6e6b7c9250 100644
--- a/source3/lib/fncall.c
+++ b/source3/lib/fncall.c
@@ -266,7 +266,7 @@ struct tevent_req *fncall_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
return tevent_req_post(req, ev);
}
if (!fncall_set_pending(req, state->ctx, ev)) {
- tevent_req_nomem(NULL, req);
+ tevent_req_oom(req);
return tevent_req_post(req, ev);
}
return req;