summaryrefslogtreecommitdiff
path: root/source4/lib/messaging/pymessaging.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 13:22:12 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 13:22:12 +0200
commit284f523ec70477c408887a478e8392671f12dfff (patch)
tree9945e37707ac8206c18da4653102c4993d6da65f /source4/lib/messaging/pymessaging.c
parent8b06312f7eeff5ea8625677478792888774bd2be (diff)
downloadsamba-284f523ec70477c408887a478e8392671f12dfff.tar.gz
samba-284f523ec70477c408887a478e8392671f12dfff.tar.bz2
samba-284f523ec70477c408887a478e8392671f12dfff.zip
Remove a few more usages of global_loadparm.
Diffstat (limited to 'source4/lib/messaging/pymessaging.c')
-rw-r--r--source4/lib/messaging/pymessaging.c4
1 files changed, 2 insertions, 2 deletions
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);
}