From 5686c80966f3f58dbe7601c72f07662fd6cedbef Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 26 Feb 2014 20:16:26 +0100 Subject: s3:torture: check the result of cli_nt_delete_on_close_recv() in test_notify.c Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source3/torture/test_notify.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/torture') diff --git a/source3/torture/test_notify.c b/source3/torture/test_notify.c index e1755ad20c7..35e64bcd129 100644 --- a/source3/torture/test_notify.c +++ b/source3/torture/test_notify.c @@ -579,6 +579,10 @@ static void notify_bench3_del_on_close_set(struct tevent_req *subreq) status = cli_nt_delete_on_close_recv(subreq); TALLOC_FREE(subreq); + if (tevent_req_nterror(req, status)) { + return; + } + subreq = cli_close_send(state, state->ev, state->cli, state->dnum); if (tevent_req_nomem(subreq, req)) { return; -- cgit