previous change did not compile
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: cache.c,v 1.27 2000/08/18 21:22:26 gson Exp $ */
|
/* $Id: cache.c,v 1.28 2000/08/18 22:32:45 gson Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -303,7 +303,7 @@ dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int t) {
|
|||||||
* It may be the case that the cache has already shut down.
|
* It may be the case that the cache has already shut down.
|
||||||
* If so, it has no timer.
|
* If so, it has no timer.
|
||||||
*/
|
*/
|
||||||
if (cache->timer == NULL)
|
if (cache->cleaner.cleaning_timer == NULL)
|
||||||
goto unlock;
|
goto unlock;
|
||||||
|
|
||||||
cache->cleaner.cleaning_interval = t;
|
cache->cleaner.cleaning_interval = t;
|
||||||
|
|||||||
Reference in New Issue
Block a user