summaryrefslogtreecommitdiff
path: root/source3/libsmb/trustdom_cache.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-04 08:56:23 +0200
committerJeremy Allison <jra@samba.org>2013-09-05 09:16:23 -0700
commit8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5 (patch)
treeeed73a2a54d2e811e0bbfae2bbb27a5df6d48436 /source3/libsmb/trustdom_cache.c
parentf630360b7ff07ffd2a22f16d50293949860418ca (diff)
downloadsamba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.tar.gz
samba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.tar.bz2
samba-8a7246ac2c5b27cc29e6ca23c1e2e0f43e298eb5.zip
lib: Add a "mem_ctx" arg to gencache_get (unused so far)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/trustdom_cache.c')
-rw-r--r--source3/libsmb/trustdom_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/trustdom_cache.c b/source3/libsmb/trustdom_cache.c
index dadc7518fd..81b366a4cc 100644
--- a/source3/libsmb/trustdom_cache.c
+++ b/source3/libsmb/trustdom_cache.c
@@ -160,7 +160,7 @@ bool trustdom_cache_fetch(const char* name, struct dom_sid* sid)
if (!key)
return False;
- if (!gencache_get(key, &value, &timeout)) {
+ if (!gencache_get(key, NULL, &value, &timeout)) {
DEBUG(5, ("no entry for trusted domain %s found.\n", name));
SAFE_FREE(key);
return False;
@@ -191,7 +191,7 @@ uint32 trustdom_cache_fetch_timestamp( void )
time_t timeout;
uint32 timestamp;
- if (!gencache_get(TDOMTSKEY, &value, &timeout)) {
+ if (!gencache_get(TDOMTSKEY, NULL, &value, &timeout)) {
DEBUG(5, ("no timestamp for trusted domain cache located.\n"));
SAFE_FREE(value);
return 0;