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:
committed by
Gerald (Jerry) Carter
parent
74511aed22
commit
1ff6ae68b6
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user