summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-02-22 06:24:28 +0000
committerAndrew Tridgell <tridge@samba.org>2001-02-22 06:24:28 +0000
commitc43593ad069670fb47b8e98248254c739bb7ab18 (patch)
tree915f5e6f6b975d81204fba13687011da3285f73b /source/utils
parent48ab6297a1b462e03f70a4d90d50b21982d0d90d (diff)
downloadsamba-c43593ad069670fb47b8e98248254c739bb7ab18.tar.gz
samba-c43593ad069670fb47b8e98248254c739bb7ab18.tar.xz
samba-c43593ad069670fb47b8e98248254c739bb7ab18.zip
fixed character set init in smbw_sample
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/smbw_sample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/utils/smbw_sample.c b/source/utils/smbw_sample.c
index 999dcaef477..db92af95108 100644
--- a/source/utils/smbw_sample.c
+++ b/source/utils/smbw_sample.c
@@ -34,6 +34,8 @@ int main(int argc, char *argv[])
char *path;
charset_initialise();
+ lp_load(CONFIGFILE,1,0,0);
+ codepage_initialise(lp_client_code_page());
smbw_setup_shared();
while ((opt = getopt(argc, argv, "W:U:R:d:P:l:hL:")) != EOF) {