From 440d0487a6ad9a39630d7364eb54e46367207d05 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 13 Jul 2006 17:37:45 +0000 Subject: r17020: pass the real error to the failing requests metze (This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5) --- source4/torture/basic/delete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/basic') diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c index d3f7de201f..445333ca6f 100644 --- a/source4/torture/basic/delete.c +++ b/source4/torture/basic/delete.c @@ -1592,7 +1592,7 @@ static BOOL deltest21(struct smbcli_state **ppcli1, struct smbcli_state **ppcli2 correct &= check_delete_on_close(cli1, fnum1, fname, True, __location__); /* Now yank the rug from under cli1. */ - smbcli_transport_dead(cli1->transport); + smbcli_transport_dead(cli1->transport, NT_STATUS_LOCAL_DISCONNECT); fnum1 = -1; -- cgit