diff options
author | James Peach <jpeach@samba.org> | 2007-12-09 13:22:19 -0800 |
---|---|---|
committer | James Peach <jpeach@samba.org> | 2007-12-09 13:22:19 -0800 |
commit | 2ecdbea0cb8089e09bf6e2ba4c12da09b15036a4 (patch) | |
tree | fe0b14fd5cbbba0440effacec992e9cf0711863f /source3 | |
parent | 6bec071408c80a85dc2a7830d2cf4c48157b5187 (diff) | |
download | samba-2ecdbea0cb8089e09bf6e2ba4c12da09b15036a4.tar.gz samba-2ecdbea0cb8089e09bf6e2ba4c12da09b15036a4.tar.bz2 samba-2ecdbea0cb8089e09bf6e2ba4c12da09b15036a4.zip |
Move load_case_tables() to after logging is set up. This can log
errors.
(This used to be commit ffee51586cfc32a7e394f606e5021ee8fd198559)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 1e2f96cbf2..80e906df5a 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4522,7 +4522,6 @@ static int do_message_op(void) if (!client_set_cur_dir("\\")) { exit(ENOMEM); } - load_case_tables(); #ifdef KANJI term_code = talloc_strdup(frame,KANJI); @@ -4546,6 +4545,8 @@ static int do_message_op(void) x_setbuf( dbf, NULL ); } + load_case_tables(); + /* skip argv(0) */ pc = poptGetContext("smbclient", argc, (const char **) argv, long_options, 0); poptSetOtherOptionHelp(pc, "service <password>"); |