summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_conv.c b/source3/python/py_conv.c
index 966a892528..e865daf7d9 100644
--- a/source3/python/py_conv.c
+++ b/source3/python/py_conv.c
@@ -45,7 +45,7 @@ PyObject *from_struct(void *s, struct pyconv *conv)
fstring str = "";
if (u->buffer)
- fstr_pull(s, u);
+ fstr_pull(str, u);
item = PyString_FromString(str);
PyDict_SetItemString(obj, conv[i].name, item);