summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 14:31:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 14:31:16 +0200
commit56a0b035c676af73eaa93446132e930cc95fae94 (patch)
tree69ec6f153c97f41875a8e77b8f4fdf16a93a7546 /source4/lib/messaging
parent37d885c51a559d2be7dd15f46a80027e4f1dffef (diff)
downloadsamba-56a0b035c676af73eaa93446132e930cc95fae94.tar.gz
samba-56a0b035c676af73eaa93446132e930cc95fae94.tar.bz2
samba-56a0b035c676af73eaa93446132e930cc95fae94.zip
Remove more uses of global_loadparm.
Diffstat (limited to 'source4/lib/messaging')
-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 590edfef64..c2c23b679e 100644
--- a/source4/lib/messaging/pymessaging.c
+++ b/source4/lib/messaging/pymessaging.c
@@ -80,7 +80,7 @@ PyObject *py_messaging_connect(PyTypeObject *self, PyObject *args, PyObject *kwa
ev = s4_event_context_init(ret->mem_ctx);
if (messaging_path == NULL) {
- messaging_path = lp_messaging_path(ret, global_loadparm);
+ messaging_path = lp_messaging_path(ret->mem_ctx, global_loadparm);
} else {
messaging_path = talloc_strdup(ret->mem_ctx, messaging_path);
}
@@ -334,7 +334,7 @@ PyObject *py_irpc_connect(PyTypeObject *self, PyObject *args, PyObject *kwargs)
ev = s4_event_context_init(ret->mem_ctx);
if (messaging_path == NULL) {
- messaging_path = lp_messaging_path(ret, global_loadparm);
+ messaging_path = lp_messaging_path(ret->mem_ctx, global_loadparm);
} else {
messaging_path = talloc_strdup(ret->mem_ctx, messaging_path);
}