1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r7657: test addone again after request timeout and destruction to ensure the pipe is still OK

(This used to be commit 9f7f70124fc67109bc9ace7a57490851341ad759)
This commit is contained in:
Andrew Tridgell 2005-06-16 23:30:02 +00:00 committed by Gerald (Jerry) Carter
parent dc8961ad42
commit 07c395a40b

View File

@ -432,11 +432,10 @@ static BOOL test_timeout(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
if (!NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT)) {
printf("request should have timed out - %s\n", nt_errstr(status));
goto failed;
}
}
p->request_timeout = timeout_saved;
return True;
return test_addone(p, mem_ctx);
failed:
p->request_timeout = timeout_saved;