git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60b169
)
s3:net_rpc: make use of cli_state_protocol()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Aug 2011 14:59:10 +0000
(16:59 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 2 Aug 2011 02:54:29 +0000
(
04:54
+0200)
metze
source3/utils/net_rpc.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc.c
b/source3/utils/net_rpc.c
index 58d69410bdb4c3d0c8899edeb05bc8351cf22a0d..592885ac7c4d93b942c1654e651d0a1ae932e7c8 100644
(file)
--- a/
source3/utils/net_rpc.c
+++ b/
source3/utils/net_rpc.c
@@
-7099,7
+7099,7
@@
bool net_rpc_check(struct net_context *c, unsigned flags)
status = cli_negprot(cli);
if (!NT_STATUS_IS_OK(status))
goto done;
- if (cli
->protocol
< PROTOCOL_NT1)
+ if (cli
_state_protocol(cli)
< PROTOCOL_NT1)
goto done;
ret = true;