summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2006-04-23 15:39:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:28 -0500
commite241563472f2b36a09399866a2ccee85a4d34580 (patch)
treed2b1db17b4f05df28a2dd8e56d2d0331349215d2 /source3
parentba6f1b1f9e03195b9f978ac2c5f0957526df0eae (diff)
downloadsamba-e241563472f2b36a09399866a2ccee85a4d34580.tar.gz
samba-e241563472f2b36a09399866a2ccee85a4d34580.tar.bz2
samba-e241563472f2b36a09399866a2ccee85a4d34580.zip
r15180: Use tdb_lock_bystring_with_timeout().
(This used to be commit 1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_tdb.c b/source3/python/py_tdb.c
index f73aa0ba8b..322d367eda 100644
--- 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);
}