diff options
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 1d48ac0f71..9c167e20c2 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2201,6 +2201,7 @@ static int do_message_op(void) extern FILE *dbf; extern char *optarg; extern int optind; + int old_debug; pstring query_host; BOOL message = False; extern char tar_type; @@ -2253,9 +2254,11 @@ static int do_message_op(void) in_client = True; /* Make sure that we tell lp_load we are */ + old_debug = DEBUGLEVEL; if (!lp_load(servicesf,True,False,False)) { fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf); } + DEBUGLEVEL = old_debug; codepage_initialise(lp_client_code_page()); |