summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/async_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index df205dd9d0..e55d5bd365 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -478,7 +478,7 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req,
NTSTATUS status;
if (!cli_state_is_connected(state->cli)) {
- return NT_STATUS_CONNECTION_INVALID;
+ return NT_STATUS_CONNECTION_DISCONNECTED;
}
if (iov[0].iov_len < smb_wct) {