Fixed silly bug.
authorTim Potter <tpot@samba.org>
Fri, 29 Nov 2002 02:44:09 +0000 (02:44 +0000)
committerTim Potter <tpot@samba.org>
Fri, 29 Nov 2002 02:44:09 +0000 (02:44 +0000)
source/python/py_conv.c

index 966a8925287be7f28fe056811487e88bae5c5789..e865daf7d9c0661b9191cd5b5de18468165dbdef 100644 (file)
@@ -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);