diff options
author | Tim Potter <tpot@samba.org> | 2005-03-13 02:48:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:03 -0500 |
commit | ee461300a5a888d632f4046796ea119023d1303c (patch) | |
tree | 9396c611c133586b16a58ba09bb0f75e57cdabbd /source4 | |
parent | 03cd26e353b74d88b02ce36dc73932452a7b3715 (diff) | |
download | samba-ee461300a5a888d632f4046796ea119023d1303c.tar.gz samba-ee461300a5a888d632f4046796ea119023d1303c.tar.xz samba-ee461300a5a888d632f4046796ea119023d1303c.zip |
r5781: Fix build.
(This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/gencache.c | 2 | ||||
-rw-r--r-- | source4/passdb/secrets.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/gencache.c b/source4/lib/gencache.c index b6d62977ad1..2db66b7564e 100644 --- a/source4/lib/gencache.c +++ b/source4/lib/gencache.c @@ -363,7 +363,7 @@ void gencache_iterate(void (*fn)(const char* key, const char *value, time_t time int gencache_lock_entry( const char *key ) { - return tdb_lock_bystring(cache->tdb, key, 0); + return tdb_lock_bystring(cache->tdb, key); } /******************************************************************** diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c index b7d05dd98ca..d9501b866c0 100644 --- a/source4/passdb/secrets.c +++ b/source4/passdb/secrets.c @@ -139,7 +139,7 @@ BOOL secrets_named_mutex(const char *name, uint_t timeout, size_t *p_ref_count) return False; if (ref_count == 0) { - ret = tdb_lock_bystring(tdb->tdb, name, timeout); + ret = tdb_lock_bystring(tdb->tdb, name); if (ret == 0) DEBUG(10,("secrets_named_mutex: got mutex for %s\n", name )); } |