From 284f523ec70477c408887a478e8392671f12dfff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 24 Oct 2008 13:22:12 +0200 Subject: Remove a few more usages of global_loadparm. --- source4/lib/messaging/pymessaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/messaging') diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index fb23214bca..590edfef64 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -94,12 +94,12 @@ PyObject *py_messaging_connect(PyTypeObject *self, PyObject *args, PyObject *kwa ret->msg_ctx = messaging_init(ret->mem_ctx, messaging_path, server_id, - lp_iconv_convenience(global_loadparm), + py_iconv_convenience(ret->mem_ctx), ev); } else { ret->msg_ctx = messaging_client_init(ret->mem_ctx, messaging_path, - lp_iconv_convenience(global_loadparm), + py_iconv_convenience(ret->mem_ctx), ev); } -- cgit