git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd71c57
)
s3:libsmb: make use of cli_state_is_connected()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jul 2011 07:38:42 +0000
(09:38 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jul 2011 15:06:07 +0000
(17:06 +0200)
metze
source3/libsmb/async_smb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/async_smb.c
b/source3/libsmb/async_smb.c
index 462a6dc4a46c48dcf02d943e3ed494b698cef657..aac303c22e0ca82ea160f8337af1f8a7912534d6 100644
(file)
--- 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;
}