1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00

r15180: Use tdb_lock_bystring_with_timeout().

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

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