summaryrefslogtreecommitdiff
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
commit5879358437b78d671ed2e51ee74d9ac167da9071 (patch)
tree69799d7053efc89397ab03a35eaff4c89b7c864d
parente6a2affe893e28aaf3da5a16d120034669b4dc37 (diff)
downloadsamba-5879358437b78d671ed2e51ee74d9ac167da9071.tar.gz
samba-5879358437b78d671ed2e51ee74d9ac167da9071.tar.bz2
samba-5879358437b78d671ed2e51ee74d9ac167da9071.zip
s4:wrepl_server: return NT_STATUS_CONNECTION_DISCONNECTED
We should return the same in all places. metze
-rw-r--r--source4/wrepl_server/wrepl_out_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_out_helpers.c b/source4/wrepl_server/wrepl_out_helpers.c
index cee7bfae41..660e1badb7 100644
--- a/source4/wrepl_server/wrepl_out_helpers.c
+++ b/source4/wrepl_server/wrepl_out_helpers.c
@@ -223,7 +223,7 @@ static NTSTATUS wreplsrv_out_connect_recv(struct composite_context *c, TALLOC_CT
*wreplconn = talloc_reference(mem_ctx, state->wreplconn);
if (!*wreplconn) status = NT_STATUS_NO_MEMORY;
} else {
- status = NT_STATUS_INVALID_CONNECTION;
+ status = NT_STATUS_CONNECTION_DISCONNECTED;
}
}