summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-20 19:56:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-21 09:35:34 +1000
commitf83fca1c576e094e2a852cc466bd9110c05fe731 (patch)
tree1b7c0f23151400748b914006b99042bebc90d8c7 /source4
parentea006ab8b2cdcde0d808aa042e143da9d641753a (diff)
downloadsamba-f83fca1c576e094e2a852cc466bd9110c05fe731.tar.gz
samba-f83fca1c576e094e2a852cc466bd9110c05fe731.tar.bz2
samba-f83fca1c576e094e2a852cc466bd9110c05fe731.zip
lib/util: Use common d_printf() in the whole codebase
This removes the lang_tdb based varient, the only user of the lang_tdb code is SWAT, which calls that directly. 'net' and 'pam_winbind' are internationalised using gettext. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/param/loadparm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 0a616b5eb4..61cb9797a4 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -2668,12 +2668,6 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
unsetenv("SOCKET_TESTNONBLOCK");
}
- /* FIXME: Check locale in environment for this: */
- if (strcmp(lpcfg_display_charset(lp_ctx), lpcfg_unix_charset(lp_ctx)) != 0)
- d_set_iconv(smb_iconv_open(lpcfg_display_charset(lp_ctx), lpcfg_unix_charset(lp_ctx)));
- else
- d_set_iconv((smb_iconv_t)-1);
-
return true;
}