From af2e107d494a992801e639301b368c70a0f2cc70 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Sep 2011 17:57:37 +0200 Subject: [PATCH] s4:lib/messaging: let irpc handles return NT_STATUS_CONNECTION_DISCONNECTED We should return the same in all places. metze --- source4/lib/messaging/messaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 7e017a97f94..11ebf19b22c 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -1099,7 +1099,7 @@ static struct tevent_req *irpc_bh_raw_call_send(TALLOC_CTX *mem_ctx, ok = irpc_bh_is_connected(h); if (!ok) { - tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION); + tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED); return tevent_req_post(req, ev); } @@ -1243,7 +1243,7 @@ static struct tevent_req *irpc_bh_disconnect_send(TALLOC_CTX *mem_ctx, ok = irpc_bh_is_connected(h); if (!ok) { - tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION); + tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED); return tevent_req_post(req, ev); } -- 2.34.1