From ee461300a5a888d632f4046796ea119023d1303c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 13 Mar 2005 02:48:16 +0000 Subject: r5781: Fix build. (This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d) --- source4/lib/gencache.c | 2 +- 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 b6d62977ad..2db66b7564 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 b7d05dd98c..d9501b866c 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 )); } -- cgit