Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
static PyObject *py_ldb_msg_element_iter(PyLdbMessageElementObject *self)
{
static PyObject *py_ldb_msg_element_iter(PyLdbMessageElementObject *self)
{
- struct ldb_message_element *el = ldb_msg_element_to_set(NULL,
- pyldb_MessageElement_AsMessageElement(self));
+ PyObject *el = ldb_msg_element_to_set(NULL,
+ pyldb_MessageElement_AsMessageElement(self));
return PyObject_GetIter(el);
}
return PyObject_GetIter(el);
}