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:
50fdf67
)
s4:dsdb: Use const char in py_dsdb_garbage_collect_tombstones()
author
Andreas Schneider
<asn@samba.org>
Mon, 12 Nov 2018 17:20:49 +0000
(18:20 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 14 Nov 2018 07:45:19 +0000
(08:45 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source4/dsdb/pydsdb.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/pydsdb.c
b/source4/dsdb/pydsdb.c
index 36cc80d45352759cdf9e7238fded72b2604f54e7..7bbceb35a92809bae4b69561fccfd0e2a2ae2a79 100644
(file)
--- a/
source4/dsdb/pydsdb.c
+++ b/
source4/dsdb/pydsdb.c
@@
-1276,7
+1276,7
@@
static PyObject *py_dsdb_garbage_collect_tombstones(PyObject *self, PyObject *ar
length = PyList_GET_SIZE(py_list_dn);
for (i = 0; i < length; i++) {
- char *part_str = PyStr_AsString(PyList_GetItem(py_list_dn, i));
+ c
onst c
har *part_str = PyStr_AsString(PyList_GetItem(py_list_dn, i));
struct ldb_dn *p;
struct dsdb_ldb_dn_list_node *node;