From afabf12251c79d741b6c7cc116b57082e168ad0a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Sep 2011 17:57:37 +0200 Subject: s4:librpc/rpc: return NT_STATUS_CONNECTION_DISCONNECTED We should return the same in all places. metze --- source4/librpc/rpc/dcerpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/librpc/rpc/dcerpc.c') diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 77b1d29236..caf421ba87 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -221,7 +221,7 @@ static struct tevent_req *dcerpc_bh_raw_call_send(TALLOC_CTX *mem_ctx, ok = dcerpc_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); } @@ -313,7 +313,7 @@ static struct tevent_req *dcerpc_bh_disconnect_send(TALLOC_CTX *mem_ctx, ok = dcerpc_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); } -- cgit