From 381e8299dcc5200712811dc33b2325a81a96aa56 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 13 Mar 2001 18:48:26 +0000 Subject: move charset_initialize() up in the food chain so that lp_load_services and stuff will work.... (This used to be commit e652a14264cf6bed6c6563ad090f645f386d903f) --- source3/rpcclient/rpcclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 7f2779fc6a..fce66b6b9b 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -316,12 +316,13 @@ static void usage(char *pname) /* Load smb.conf file */ + charset_initialise(); + if (!lp_load(servicesf,True,False,False)) { fprintf(stderr, "Can't load %s\n", servicesf); } codepage_initialise(lp_client_code_page()); - charset_initialise(); load_interfaces(); TimeInit(); -- cgit