summaryrefslogtreecommitdiff
path: root/source4/param/util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-13 12:19:33 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:53 +0100
commita5b8999f23d56b4a19b87fc17b22c96f88e487e8 (patch)
tree2cfc01d253b8d41ed95c7ac90dd6691e27d88681 /source4/param/util.c
parentaa32619c5c910b9f5989f44de21621db5ef7c357 (diff)
downloadsamba-a5b8999f23d56b4a19b87fc17b22c96f88e487e8.tar.gz
samba-a5b8999f23d56b4a19b87fc17b22c96f88e487e8.tar.bz2
samba-a5b8999f23d56b4a19b87fc17b22c96f88e487e8.zip
r26427: Avoid global_smb_iconv_convenience.
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
Diffstat (limited to 'source4/param/util.c')
-rw-r--r--source4/param/util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/param/util.c b/source4/param/util.c
index 89498b57a6..281d32f35f 100644
--- a/source4/param/util.c
+++ b/source4/param/util.c
@@ -285,6 +285,11 @@ _PUBLIC_ const char *lp_messaging_path(TALLOC_CTX *mem_ctx,
struct smb_iconv_convenience *global_smb_iconv_convenience = NULL;
+struct smb_iconv_convenience *lp_iconv_convenience(struct loadparm_context *lp_ctx)
+{
+ return global_smb_iconv_convenience;
+}
+
struct smb_iconv_convenience *smb_iconv_convenience_init_lp(TALLOC_CTX *mem_ctx,
struct loadparm_context *lp_ctx)
{