git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afabf12
)
s4:lib/messaging: let irpc handles return NT_STATUS_CONNECTION_DISCONNECTED
author
Stefan Metzmacher
<metze@samba.org>
Wed, 14 Sep 2011 15:57:37 +0000
(17:57 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 14 Sep 2011 16:03:18 +0000
(18:03 +0200)
We should return the same in all places.
metze
source4/lib/messaging/messaging.c
patch
|
blob
|
history
diff --git
a/source4/lib/messaging/messaging.c
b/source4/lib/messaging/messaging.c
index 7e017a97f942d5829cf18c837c5c77e83f283bea..11ebf19b22cb4f1538009be4a61b8b3b76bfbbd0 100644
(file)
--- 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);
}