summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-01 16:59:54 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 04:54:29 +0200
commitda534343914c7b7b5cf7300a3cff2614b9e613e5 (patch)
tree62bf5ea8c19f8f0c3947fe690e0739bdbfb9a323 /source3/rpc_server
parent32a47730da3e92b61b3cba4530962a801b959aca (diff)
downloadsamba-da534343914c7b7b5cf7300a3cff2614b9e613e5.tar.gz
samba-da534343914c7b7b5cf7300a3cff2614b9e613e5.tar.bz2
samba-da534343914c7b7b5cf7300a3cff2614b9e613e5.zip
s3:spoolss: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index b2200afef6..ec6f49e718 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -2565,7 +2565,7 @@ static bool spoolss_connect_to_client(struct rpc_pipe_client **pp_pipe,
return false;
}
- if ( the_cli->protocol != PROTOCOL_NT1 ) {
+ if ( cli_state_protocol(the_cli) != PROTOCOL_NT1 ) {
DEBUG(0,("spoolss_connect_to_client: machine %s didn't negotiate NT protocol.\n", remote_machine));
cli_shutdown(the_cli);
return false;