r15180: Use tdb_lock_bystring_with_timeout().
authorLars Müller <lmuelle@samba.org>
Sun, 23 Apr 2006 15:39:32 +0000 (15:39 +0000)
committerGerald (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

index f73aa0ba8be7f2fa0ac596f98f601a3eb7878e2d..322d367eda49ff8f1b8cccfa2a80e51c0410f3c7 100644 (file)
@@ -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);
 }