diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 17:11:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 17:11:20 +0100 |
commit | 62c57cb4006ca8678ac5a94cdd1d31af3f9f0a21 (patch) | |
tree | 69385de7f3301219984bf2f8c43d9235bf86127f /source4/param | |
parent | a1cc27814240bf50bd546dcfc8b80d3838a6a38d (diff) | |
download | samba-62c57cb4006ca8678ac5a94cdd1d31af3f9f0a21.tar.gz samba-62c57cb4006ca8678ac5a94cdd1d31af3f9f0a21.tar.bz2 samba-62c57cb4006ca8678ac5a94cdd1d31af3f9f0a21.zip |
Remove use of global_loadparm when comparing nt status error - use
global variable instead.
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/loadparm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 201013609e..b79be28ac0 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2480,6 +2480,8 @@ bool lp_load(struct loadparm_context *lp_ctx, const char *filename) reload_charcnv(lp_ctx); + ntstatus_check_dos_mapping = lp_nt_status_support(lp_ctx); + /* FIXME: Check locale in environment for this: */ if (strcmp(lp_display_charset(lp_ctx), lp_unix_charset(lp_ctx)) != 0) d_set_iconv(smb_iconv_open(lp_display_charset(lp_ctx), lp_unix_charset(lp_ctx))); |