diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-14 17:57:37 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-14 18:03:17 +0200 |
commit | 8602e8a53625b1b0da6c1ed1c6680df8a86e9f14 (patch) | |
tree | f53e8ebee9ef6987ae33de07f3f69633e0f6bb0c /source3/rpc_server | |
parent | cc5f973884ae2c58c409ab3b59dae69bcc9a40c1 (diff) | |
download | samba-8602e8a53625b1b0da6c1ed1c6680df8a86e9f14.tar.gz samba-8602e8a53625b1b0da6c1ed1c6680df8a86e9f14.tar.bz2 samba-8602e8a53625b1b0da6c1ed1c6680df8a86e9f14.zip |
s3:rpc_server: let rpcint handles return NT_STATUS_CONNECTION_DISCONNECTED
We should return the same in all places.
metze
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c index 62f42700d1..37c30791b2 100644 --- a/source3/rpc_server/rpc_ncacn_np.c +++ b/source3/rpc_server/rpc_ncacn_np.c @@ -223,7 +223,7 @@ static struct tevent_req *rpcint_bh_raw_call_send(TALLOC_CTX *mem_ctx, ok = rpcint_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); } @@ -285,7 +285,7 @@ static struct tevent_req *rpcint_bh_disconnect_send(TALLOC_CTX *mem_ctx, ok = rpcint_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); } |