git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b9829
)
Initialise 'flags' in new python ldb binding for ldb_connect
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 5 Jan 2009 09:02:02 +0000
(20:02 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 5 Jan 2009 09:08:04 +0000
(20:08 +1100)
source4/lib/ldb/pyldb.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/pyldb.c
b/source4/lib/ldb/pyldb.c
index 10b9691ae079ca93519bf6c95e2713a0fee3d3fa..0dda9aa05bb45e4b023394ad331c821393e3bf41 100644
(file)
--- a/
source4/lib/ldb/pyldb.c
+++ b/
source4/lib/ldb/pyldb.c
@@
-538,7
+538,7
@@
static PyObject *py_ldb_new(PyTypeObject *type, PyObject *args, PyObject *kwargs
static PyObject *py_ldb_connect(PyLdbObject *self, PyObject *args, PyObject *kwargs)
{
char *url;
- int flags;
+ int flags
= 0
;
PyObject *py_options = Py_None;
int ret;
const char **options;