diff options
-rw-r--r-- | source3/python/py_spoolss_printers_conv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_printers_conv.c b/source3/python/py_spoolss_printers_conv.c index e31babb001..4ab030d961 100644 --- a/source3/python/py_spoolss_printers_conv.c +++ b/source3/python/py_spoolss_printers_conv.c @@ -154,7 +154,7 @@ BOOL py_from_DEVICEMODE(PyObject **dict, DEVICEMODE *devmode) PyDict_SetItemString(*dict, "private", PyString_FromStringAndSize( - devmode->private, devmode->driverextra)); + devmode->dev_private, devmode->driverextra)); return True; } @@ -170,7 +170,7 @@ BOOL py_to_DEVICEMODE(DEVICEMODE *devmode, PyObject *dict) if (!PyString_Check(obj)) goto done; - devmode->private = PyString_AsString(obj); + devmode->dev_private = PyString_AsString(obj); devmode->driverextra = PyString_Size(obj); PyDict_DelItemString(dict_copy, "private"); |