1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

move charset_initialize() up in the food chain so that lp_load_services

and stuff will work....
(This used to be commit e652a14264cf6bed6c6563ad090f645f386d903f)
This commit is contained in:
Gerald Carter 2001-03-13 18:48:26 +00:00
parent 20dd1f7489
commit 381e8299dc

View File

@ -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();