r18312: Change gencache_get slightly: Delete expired keys, and only strdup the value
authorVolker Lendecke <vlendec@samba.org>
Sat, 9 Sep 2006 21:40:47 +0000 (21:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:51:19 +0000 (11:51 -0500)
commiteab60e2bb13e0197f3771ab6d60da48a72fb311d
treed41ab153c08eb26d86f7c36c01cecde7a5ba5878
parentcfefd8fd789b6512cad418a791c274faf54f11da
r18312: Change gencache_get slightly: Delete expired keys, and only strdup the value
if a valid entry was found. The newer calls got the latter one wrong, change
the older calls.

Volker
(This used to be commit 554e68887bc84510690226c9b07a872e7a282abe)
source3/lib/gencache.c
source3/libsmb/namecache.c
source3/libsmb/trustdom_cache.c