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 | 381e8299dcc5200712811dc33b2325a81a96aa56 (patch) | |
tree | f63eaab950a4e266ea3895d4275df701ddcbb4c9 /source3 | |
parent | 20dd1f74893e9ea0a2a4ef21ec5e1b02eb9e504d (diff) | |
download | samba-381e8299dcc5200712811dc33b2325a81a96aa56.tar.gz samba-381e8299dcc5200712811dc33b2325a81a96aa56.tar.bz2 samba-381e8299dcc5200712811dc33b2325a81a96aa56.zip |
move charset_initialize() up in the food chain so that lp_load_services
and stuff will work....
(This used to be commit e652a14264cf6bed6c6563ad090f645f386d903f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |