diff options
author | Gerald Carter <jerry@samba.org> | 2001-03-13 18:48:26 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-03-13 18:48:26 +0000 |
commit | e652a14264cf6bed6c6563ad090f645f386d903f (patch) | |
tree | 8623a8cb024d38dfc8173f165814360f41abbfb8 /source/rpcclient | |
parent | 1e92d340ceb5be8e7d50cc7c889b2053ed67bad3 (diff) | |
download | samba-e652a14264cf6bed6c6563ad090f645f386d903f.tar.gz |
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.c | 3 |
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(); |