diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:52:25 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:52:25 +0200 |
commit | 0b0b11e3d98b08c9097ab621a55769bff9f550c2 (patch) | |
tree | 66bccde9b005e7e52fc0cab9a3b066f00e0ac485 /libcli/nbt | |
parent | 791f9e09b82b5382f6005482a4e3faa62ce30fae (diff) | |
download | samba-0b0b11e3d98b08c9097ab621a55769bff9f550c2.tar.gz samba-0b0b11e3d98b08c9097ab621a55769bff9f550c2.tar.bz2 samba-0b0b11e3d98b08c9097ab621a55769bff9f550c2.zip |
Fix the build.
Diffstat (limited to 'libcli/nbt')
-rw-r--r-- | libcli/nbt/pynbt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c index 3200482491..9179245e88 100644 --- a/libcli/nbt/pynbt.c +++ b/libcli/nbt/pynbt.c @@ -48,7 +48,7 @@ static PyObject *py_nbt_node_init(PyTypeObject *self, PyObject *args, PyObject * return NULL; ev = s4_event_context_init(ret->mem_ctx); - ret->socket = nbt_name_socket_init(ret->mem_ctx, ev, lp_iconv_convenience(global_loadparm)); + ret->socket = nbt_name_socket_init(ret->mem_ctx, ev, py_iconv_convenience(ret->mem_ctx)); return (PyObject *)ret; } @@ -171,7 +171,7 @@ static PyObject *py_nbt_name_query(PyObject *self, PyObject *args, PyObject *kwa return NULL; PyTuple_SetItem(ret, 0, PyString_FromString(io.out.reply_from)); - py_name = PyObject_FromNBTName(node->socket, lp_iconv_convenience(global_loadparm), &io.out.name); + py_name = PyObject_FromNBTName(node->socket, py_iconv_convenience(node->socket), &io.out.name); if (py_name == NULL) return NULL; |