git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac75f0
)
pyldb: fixed a warning
author
Andrew Tridgell
<tridge@samba.org>
Fri, 19 Aug 2011 07:26:33 +0000
(17:26 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 24 Aug 2011 21:39:37 +0000
(07:39 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
lib/ldb/pyldb.c
patch
|
blob
|
history
diff --git
a/lib/ldb/pyldb.c
b/lib/ldb/pyldb.c
index 72680c1710f959c4800ed2cc460142f2c7c32437..d456acbe4d48a595a0c7f02288d08cd914fd06a1 100644
(file)
--- a/
lib/ldb/pyldb.c
+++ b/
lib/ldb/pyldb.c
@@
-2290,8
+2290,8
@@
static int py_ldb_msg_element_cmp(PyLdbMessageElementObject *self, PyLdbMessageE
static PyObject *py_ldb_msg_element_iter(PyLdbMessageElementObject *self)
{
-
struct ldb_message_elemen
t *el = ldb_msg_element_to_set(NULL,
- pyldb_MessageElement_AsMessageElement(self));
+
PyObjec
t *el = ldb_msg_element_to_set(NULL,
+
pyldb_MessageElement_AsMessageElement(self));
return PyObject_GetIter(el);
}