diff options
author | Luk Claes <luk@debian.org> | 2012-05-19 18:09:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-28 14:49:45 +0200 |
commit | d8c0646a5db34a390ceeb853e50c2d098b992c85 (patch) | |
tree | 486749c41d524ffa61c50adae19f1b1d2352f525 /source3/rpc_server | |
parent | 4f6f4ea93c83fa5154f450e2e43649467e4c2b32 (diff) | |
download | samba-d8c0646a5db34a390ceeb853e50c2d098b992c85.tar.gz samba-d8c0646a5db34a390ceeb853e50c2d098b992c85.tar.bz2 samba-d8c0646a5db34a390ceeb853e50c2d098b992c85.zip |
s3:libsmb: get rid of cli_state_protocol
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 3a6fc35793..2b0387dd49 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -55,6 +55,7 @@ #include "printing/printer_list.h" #include "../lib/tsocket/tsocket.h" #include "rpc_client/cli_winreg_spoolss.h" +#include "../libcli/smb/smbXcli_base.h" /* macros stolen from s4 spoolss server */ #define SPOOLSS_BUFFER_UNION(fn,info,level) \ @@ -2499,7 +2500,7 @@ static bool spoolss_connect_to_client(struct rpc_pipe_client **pp_pipe, return false; } - if ( cli_state_protocol(the_cli) != PROTOCOL_NT1 ) { + if ( smbXcli_conn_protocol(the_cli->conn) != PROTOCOL_NT1 ) { DEBUG(0,("spoolss_connect_to_client: machine %s didn't negotiate NT protocol.\n", remote_machine)); cli_shutdown(the_cli); return false; |