diff options
Diffstat (limited to 'source4/client/client.c')
-rw-r--r-- | source4/client/client.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index 34d0fc20f1..afdab5928c 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -3361,18 +3361,12 @@ static void remember_query_host(const char *arg, *query_host = 0; *base_directory = 0; - setup_logging(argv[0],DEBUG_STDOUT); mem_ctx = talloc_init("client.c/main"); if (!mem_ctx) { d_printf("\nclient.c: Not enough memory\n"); exit(1); } - if (!lp_load(dyn_CONFIGFILE,True,False,False)) { - fprintf(stderr, "%s: Can't load %s - run testparm to debug it\n", - argv[0], dyn_CONFIGFILE); - } - pc = poptGetContext("smbclient", argc, (const char **) argv, long_options, 0); poptSetOtherOptionHelp(pc, "[OPTIONS] service <password>"); @@ -3393,10 +3387,6 @@ static void remember_query_host(const char *arg, case 'I': dest_ip = poptGetOptArg(pc); break; - case 'E': - setup_logging("client", DEBUG_STDERR); - break; - case 'L': remember_query_host(poptGetOptArg(pc), query_host); break; @@ -3412,8 +3402,6 @@ static void remember_query_host(const char *arg, } } - load_interfaces(); - smbclient_init_subsystems; if(poptPeekArg(pc)) { |