summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-14 17:57:37 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-14 18:03:19 +0200
commite6a2affe893e28aaf3da5a16d120034669b4dc37 (patch)
treeaf6c422620272d29111f81ca70068ea7718981fd /source4/libcli
parentaf2e107d494a992801e639301b368c70a0f2cc70 (diff)
downloadsamba-e6a2affe893e28aaf3da5a16d120034669b4dc37.tar.gz
samba-e6a2affe893e28aaf3da5a16d120034669b4dc37.tar.bz2
samba-e6a2affe893e28aaf3da5a16d120034669b4dc37.zip
s4:libcli/wrepl: return NT_STATUS_CONNECTION_DISCONNECTED
We should return the same in all places. metze
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/wrepl/winsrepl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c
index c7f1ad07cb..eab7430e42 100644
--- a/source4/libcli/wrepl/winsrepl.c
+++ b/source4/libcli/wrepl/winsrepl.c
@@ -359,7 +359,7 @@ struct tevent_req *wrepl_request_send(TALLOC_CTX *mem_ctx,
}
if (wrepl_socket->stream == NULL) {
- tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION);
+ tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED);
return tevent_req_post(req, ev);
}
@@ -408,7 +408,7 @@ static void wrepl_request_trigger(struct tevent_req *req,
struct tevent_req *subreq;
if (state->caller.wrepl_socket->stream == NULL) {
- tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION);
+ tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED);
return;
}
@@ -450,7 +450,7 @@ static void wrepl_request_writev_done(struct tevent_req *subreq)
}
if (state->caller.wrepl_socket->stream == NULL) {
- tevent_req_nterror(req, NT_STATUS_INVALID_CONNECTION);
+ tevent_req_nterror(req, NT_STATUS_CONNECTION_DISCONNECTED);
return;
}