git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r15180: Use tdb_lock_bystring_with_timeout().
[abartlet/samba.git/.git]
/
source3
/
python
/
py_tdb.c
diff --git
a/source3/python/py_tdb.c
b/source3/python/py_tdb.c
index f73aa0ba8be7f2fa0ac596f98f601a3eb7878e2d..322d367eda49ff8f1b8cccfa2a80e51c0410f3c7 100644
(file)
--- a/
source3/python/py_tdb.c
+++ b/
source3/python/py_tdb.c
@@
-494,7
+494,7
@@
PyObject *py_tdb_hnd_lock_bystring(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s|i", &s, &timeout))
return NULL;
- result = tdb_lock_bystring(obj->tdb, s, timeout);
+ result = tdb_lock_bystring
_with_timeout
(obj->tdb, s, timeout);
return PyInt_FromLong(result != -1);
}