diff options
author | Volker Lendecke <vl@samba.org> | 2009-09-23 15:21:40 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-09-23 18:50:33 +0200 |
commit | 76d95b9a2dcfff9df1865ffff74f0e9c32bce609 (patch) | |
tree | 885a46adcfeccb1b8b3cf631f9f0bdc58dee676d /source3/libsmb | |
parent | adf66e75c060e6462b9f8819944d0f8ff1ef2c1b (diff) | |
download | samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.tar.gz samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.tar.bz2 samba-76d95b9a2dcfff9df1865ffff74f0e9c32bce609.zip |
s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
This is set to true if the routine returns failure due to an existing but
expired entry.
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 99d21eb641..98b65942e4 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -331,7 +331,7 @@ static NTSTATUS dsgetdcname_cache_fetch(TALLOC_CTX *mem_ctx, return NT_STATUS_NO_MEMORY; } - if (!gencache_get_data_blob(key, &blob, NULL)) { + if (!gencache_get_data_blob(key, &blob, NULL, NULL)) { return NT_STATUS_NOT_FOUND; } |