From 4f6f4ea93c83fa5154f450e2e43649467e4c2b32 Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sat, 19 May 2012 17:31:50 +0200 Subject: s3:libsmb: get rid of cli_state_remote_name Signed-off-by: Luk Claes Signed-off-by: Stefan Metzmacher --- source3/client/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 3d36367539..f3ba63fde3 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -37,6 +37,7 @@ #include "trans2.h" #include "libsmb/nmblib.h" #include "include/ntioctl.h" +#include "../libcli/smb/smbXcli_base.h" #ifndef REGISTER #define REGISTER 0 @@ -4495,7 +4496,7 @@ static int cmd_show_connect( void ) return 1; } - d_printf("//%s/%s\n", cli_state_remote_name(targetcli), targetcli->share); + d_printf("//%s/%s\n", smbXcli_conn_remote_name(targetcli->conn), targetcli->share); return 0; } -- cgit