summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/client/client.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index d9a8aa7229..3878719a31 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2279,8 +2279,8 @@ static BOOL browse_host(const char *query_host)
r.out.resume_handle = &resume_handle;
r.out.ctr.ctr1 = &ctr1;
- d_printf("\n\tSharename Type Comment\n");
- d_printf("\t--------- ---- -------\n");
+ d_printf("\n\tSharename Type Comment\n");
+ d_printf("\t--------- ---- -------\n");
do {
ZERO_STRUCT(ctr1);
@@ -2893,15 +2893,8 @@ handle a -L query
****************************************************************************/
static int do_host_query(char *query_host)
{
- cli = do_connect(query_host, "IPC$");
- if (!cli)
- return 1;
-
browse_host(query_host);
list_servers(lp_workgroup());
-
- cli_shutdown(cli);
-
return(0);
}