diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-14 17:54:48 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-14 18:03:17 +0200 |
commit | a6e8167e4a3d1e8239338bdbe9598c44a2c2ce2f (patch) | |
tree | bf4641a8de4c7bcc76f6138a033c42778cc2e0f6 /source3 | |
parent | e80f79a1fb91ed71cf8d886791ef8485b78b20c3 (diff) | |
download | samba-a6e8167e4a3d1e8239338bdbe9598c44a2c2ce2f.tar.gz samba-a6e8167e4a3d1e8239338bdbe9598c44a2c2ce2f.tar.bz2 samba-a6e8167e4a3d1e8239338bdbe9598c44a2c2ce2f.zip |
s3:libsmb: return NT_STATUS_CONNECTION_DISCONNECTED instead of NT_STATUS_CONNECTION_INVALID
We should return the same in all places.
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/async_smb.c | 2 |
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) { |