s3:client: make use of cli_state_remote_name()
[ira/wip.git] / source3 / client / client.c
index 8c797e5e0e442fe4d95319d6743d74a7d1cf656c..142eea27335a508c80c9949fc428a95627b96b93 100644 (file)
@@ -4431,7 +4431,7 @@ static int cmd_show_connect( void )
                return 1;
        }
 
-       d_printf("//%s/%s\n", targetcli->desthost, targetcli->share);
+       d_printf("//%s/%s\n", cli_state_remote_name(targetcli), targetcli->share);
        return 0;
 }