git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
147f075
)
s4-pyldb Fix tp_basicsize for PyLdbDn
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 17 Jan 2011 05:23:23 +0000
(16:23 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 18 Jan 2011 09:55:05 +0000
(10:55 +0100)
This wasn't actually causing problems before, as the structures were
the same size.
Andrew Bartlett
source4/lib/ldb/pyldb.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/pyldb.c
b/source4/lib/ldb/pyldb.c
index 17c0734cf63d692e1834a613316631c73ccec5bd..e1743472c6cfe3c5610ee3b22bbaa68b530683b1 100644
(file)
--- a/
source4/lib/ldb/pyldb.c
+++ b/
source4/lib/ldb/pyldb.c
@@
-368,7
+368,7
@@
static PyTypeObject PyLdbDn = {
.tp_doc = "A LDB distinguished name.",
.tp_new = py_ldb_dn_new,
.tp_dealloc = (destructor)py_ldb_dn_dealloc,
- .tp_basicsize = sizeof(PyLdbObject),
+ .tp_basicsize = sizeof(PyLdb
Dn
Object),
.tp_flags = Py_TPFLAGS_DEFAULT,
};