diff options
Diffstat (limited to 'source3/winbindd/wb_ping.c')
-rw-r--r-- | source3/winbindd/wb_ping.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/winbindd/wb_ping.c b/source3/winbindd/wb_ping.c index 56ecc6671c..1201398437 100644 --- a/source3/winbindd/wb_ping.c +++ b/source3/winbindd/wb_ping.c @@ -39,15 +39,7 @@ struct tevent_req *wb_ping_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, return req; } -NTSTATUS wb_ping_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, - struct winbindd_response **presp) +NTSTATUS wb_ping_recv(struct tevent_req *req, struct winbindd_response *presp) { - struct winbindd_response *resp; - - resp = talloc_zero(mem_ctx, struct winbindd_response); - if (resp == NULL) { - return NT_STATUS_NO_MEMORY; - } - *presp = resp; return NT_STATUS_OK; } |