summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2005-07-13 16:47:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:05 -0500
commit07e58e05424e224592e70c01ae93b1716fd1a7a6 (patch)
treee774f43f14e10294fb0c28b721a1dab69b0f00ed /source3
parent9dcfaf01a1d9f5ee9441f187b410a92f8c987e7e (diff)
downloadsamba-07e58e05424e224592e70c01ae93b1716fd1a7a6.tar.gz
samba-07e58e05424e224592e70c01ae93b1716fd1a7a6.tar.bz2
samba-07e58e05424e224592e70c01ae93b1716fd1a7a6.zip
r8431: Ensure to use dev_private and not private after Jeremy's CPP reserved
names rename. Jerry: I'm not sure if we have to use the string 'dev_private' instead of 'private' as second arg to PyDict_SetItemString(). (This used to be commit cd2c467cc46db1958aba7660f0ef7fd8af14bd63)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_spoolss_printers_conv.c4
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");