1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

r15180: Use tdb_lock_bystring_with_timeout().

(This used to be commit 1ff6ae68b6)
This commit is contained in:
Lars Müller
2006-04-23 15:39:32 +00:00
committed by Gerald (Jerry) Carter
parent ba6f1b1f9e
commit e241563472

View 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);
}