diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-01 16:59:10 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-02 04:54:29 +0200 |
commit | ed6b8deea79e1b3eaef12e8091ea8609e85c4c6c (patch) | |
tree | a129d19d6881eb4673fe537a08415b5f34e2aef8 /source3 | |
parent | a60b1695b1d783da4b460f357772fb3cde589134 (diff) | |
download | samba-ed6b8deea79e1b3eaef12e8091ea8609e85c4c6c.tar.gz samba-ed6b8deea79e1b3eaef12e8091ea8609e85c4c6c.tar.bz2 samba-ed6b8deea79e1b3eaef12e8091ea8609e85c4c6c.zip |
s3:net_rpc: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 58d69410bd..592885ac7c 100644 --- 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; |