git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:pyldb - Fixed the return value in "py_ldb_msg_diff"
[ira/wip.git]
/
source4
/
lib
/
ldb
/
pyldb.c
diff --git
a/source4/lib/ldb/pyldb.c
b/source4/lib/ldb/pyldb.c
index 1ba5109f2fde038464627f8a153bd3ed97d835d6..0fe4da988729e6986d58e4c7653c4b40bd8b04d1 100644
(file)
--- a/
source4/lib/ldb/pyldb.c
+++ b/
source4/lib/ldb/pyldb.c
@@
-956,8
+956,6
@@
static PyObject *py_ldb_msg_diff(PyLdbObject *self, PyObject *args)
}
diff = ldb_msg_diff(PyLdb_AsLdbContext(self), PyLdbMessage_AsMessage(py_msg_old), PyLdbMessage_AsMessage(py_msg_new));
- if (diff == NULL)
- return NULL;
py_ret = PyLdbMessage_FromMessage(diff);