git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ad73b5
)
TODO fix py_ldb_msg_richcmp TODO check/fix others?
author
Stefan Metzmacher
<metze@samba.org>
Mon, 2 Nov 2015 23:33:36 +0000
(
00:33
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Nov 2015 12:12:00 +0000
(13:12 +0100)
lib/ldb/pyldb.c
patch
|
blob
|
history
diff --git
a/lib/ldb/pyldb.c
b/lib/ldb/pyldb.c
index 327cb6bc271406ac048bd53e635c71b383030830..fb00e3581c28b1a52d04b69917b4b40f777f3a2d 100644
(file)
--- a/
lib/ldb/pyldb.c
+++ b/
lib/ldb/pyldb.c
@@
-3060,7
+3060,7
@@
static PyObject *py_ldb_msg_richcmp(PyLdbMessageObject *py_msg1,
unsigned int i;
int ret;
unsigned int i;
int ret;
- if (!PyLdbMessage_Check(py_msg
1
)) {
+ if (!PyLdbMessage_Check(py_msg
2
)) {
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}