diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-22 09:38:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-22 17:06:07 +0200 |
commit | 103413da8bd60f1d0dce7c1338db8d6ace312828 (patch) | |
tree | facadbf2b7aa09ae72973e89aa174c74c9a32ae0 | |
parent | cd71c5746b7fb40349b13b6a3f80f85a7b1a4fa8 (diff) | |
download | samba-103413da8bd60f1d0dce7c1338db8d6ace312828.tar.gz samba-103413da8bd60f1d0dce7c1338db8d6ace312828.tar.bz2 samba-103413da8bd60f1d0dce7c1338db8d6ace312828.zip |
s3:libsmb: make use of cli_state_is_connected()
metze
-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 462a6dc4a4..aac303c22e 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -382,7 +382,7 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req, struct tevent_req *subreq; NTSTATUS status; - if (state->cli->fd == -1) { + if (!cli_state_is_connected(state->cli)) { return NT_STATUS_CONNECTION_INVALID; } |