summaryrefslogtreecommitdiffstats
path: root/source/python
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
commit1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd (patch)
tree08df7670fe98e2ec03d16107e395eb17c45ea52f /source/python
parent74511aed221d7f9856fed7532f24c789c49c8175 (diff)
downloadsamba-1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd.tar.gz
samba-1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd.tar.xz
samba-1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd.zip
r15180: Use tdb_lock_bystring_with_timeout().
Diffstat (limited to 'source/python')
-rw-r--r--source/python/py_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_tdb.c b/source/python/py_tdb.c
index f73aa0ba8be..322d367eda4 100644
--- a/source/python/py_tdb.c
+++ b/source/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);
}