git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba6f1b1
)
r15180: Use tdb_lock_bystring_with_timeout().
author
Lars Müller
<lmuelle@samba.org>
Sun, 23 Apr 2006 15:39:32 +0000
(15:39 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:16:28 +0000
(11:16 -0500)
(This used to be commit
1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd
)
source3/python/py_tdb.c
patch
|
blob
|
history
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);
}