From 07c395a40b320a28f85bb21db67781f8cdd28fcd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Jun 2005 23:30:02 +0000 Subject: r7657: test addone again after request timeout and destruction to ensure the pipe is still OK (This used to be commit 9f7f70124fc67109bc9ace7a57490851341ad759) --- source4/torture/rpc/echo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 94400247a6..a579190f47 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -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; -- cgit