diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-11 17:44:15 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-11 17:53:25 +0200 |
commit | cc78ea5d09f2d8e338f0626fb1215f06ee7e1bbe (patch) | |
tree | fabc4fc675c19819962cb06121428ccecd103c04 /source3/utils | |
parent | d670d0a09bec3b6900421df17fc9d959545ee953 (diff) | |
download | samba-cc78ea5d09f2d8e338f0626fb1215f06ee7e1bbe.tar.gz samba-cc78ea5d09f2d8e338f0626fb1215f06ee7e1bbe.tar.bz2 samba-cc78ea5d09f2d8e338f0626fb1215f06ee7e1bbe.zip |
Revert "Return timed out entries from gencache_get if timeout param != NULL"
This reverts commit 2954b2be563149380e1fae7fe088b98d6cbd42e7.
(This used to be commit 77ab2fb306a7ad59447a3e1591c2af03447e09c5)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_cache.c b/source3/utils/net_cache.c index 21fcc9155d..4e9ae18c0d 100644 --- a/source3/utils/net_cache.c +++ b/source3/utils/net_cache.c @@ -225,8 +225,7 @@ static int net_cache_get(struct net_context *c, int argc, const char **argv) return -1; } - if (gencache_get(keystr, &valuestr, &timeout) - && (timeout > time(NULL))) { + if (gencache_get(keystr, &valuestr, &timeout)) { print_cache_entry(keystr, valuestr, timeout, NULL); return 0; } |