summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-03-13 18:48:26 +0000
committerGerald Carter <jerry@samba.org>2001-03-13 18:48:26 +0000
commite652a14264cf6bed6c6563ad090f645f386d903f (patch)
tree8623a8cb024d38dfc8173f165814360f41abbfb8 /source/rpcclient
parent1e92d340ceb5be8e7d50cc7c889b2053ed67bad3 (diff)
downloadsamba-e652a14264cf6bed6c6563ad090f645f386d903f.tar.gz
samba-e652a14264cf6bed6c6563ad090f645f386d903f.tar.xz
samba-e652a14264cf6bed6c6563ad090f645f386d903f.zip
move charset_initialize() up in the food chain so that lp_load_services
and stuff will work....
Diffstat (limited to 'source/rpcclient')
-rw-r--r--source/rpcclient/rpcclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpcclient/rpcclient.c b/source/rpcclient/rpcclient.c
index 7f2779fc6ad..fce66b6b9b8 100644
--- a/source/rpcclient/rpcclient.c
+++ b/source/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();