summaryrefslogtreecommitdiff
path: root/source3/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
commit6022747b5bbc3197d3a0e246c57caf1b7ad04b2d (patch)
tree2dc2ae74843a2fcc72693a523d9d4f7be39ac072 /source3/utils
parent4e1de143b38e2fb64dd3c7d4030e939b53c8db0f (diff)
downloadsamba-6022747b5bbc3197d3a0e246c57caf1b7ad04b2d.tar.gz
samba-6022747b5bbc3197d3a0e246c57caf1b7ad04b2d.tar.bz2
samba-6022747b5bbc3197d3a0e246c57caf1b7ad04b2d.zip
fixed character set init in smbw_sample
(This used to be commit c43593ad069670fb47b8e98248254c739bb7ab18)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbw_sample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/smbw_sample.c b/source3/utils/smbw_sample.c
index 999dcaef47..db92af9510 100644
--- a/source3/utils/smbw_sample.c
+++ b/source3/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) {