diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-11 17:44:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-11 17:53:25 +0200 |
commit | d3def9a18cc701573530154ed420278f007f06a3 (patch) | |
tree | a69446c4eb869be0174120dcd66becbf8221005c /source3/libads | |
parent | cc78ea5d09f2d8e338f0626fb1215f06ee7e1bbe (diff) | |
download | samba-d3def9a18cc701573530154ed420278f007f06a3.tar.gz samba-d3def9a18cc701573530154ed420278f007f06a3.tar.bz2 samba-d3def9a18cc701573530154ed420278f007f06a3.zip |
Revert "Pass NULL to gencache_get when we are not interested in the timeout value"
This reverts commit 16062dfc3dcc8f1ca0024a3ae21effb889c7ffc0.
(This used to be commit 114ca8577568cdb5a81d8734f1d1d096f1b36c36)
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/dns.c b/source3/libads/dns.c index a8825d32e6..3a9e849668 100644 --- a/source3/libads/dns.c +++ b/source3/libads/dns.c @@ -790,6 +790,7 @@ bool sitename_store(const char *realm, const char *sitename) char *sitename_fetch(const char *realm) { char *sitename = NULL; + time_t timeout; bool ret = False; const char *query_realm; char *key; @@ -806,7 +807,7 @@ char *sitename_fetch(const char *realm) key = sitename_key(query_realm); - ret = gencache_get( key, &sitename, NULL ); + ret = gencache_get( key, &sitename, &timeout ); SAFE_FREE(key); if ( !ret ) { DEBUG(5,("sitename_fetch: No stored sitename for %s\n", |