fix missing return statement in nonamed causing network failure after 300s when compiling with GCC
This commit is contained in:
parent
20a04a068d
commit
c50ec2b4e2
1 changed files with 1 additions and 0 deletions
|
@ -1156,6 +1156,7 @@ static int job_save_cache(void *data, int expired)
|
||||||
if (!expired) return 0;
|
if (!expired) return 0;
|
||||||
cache2file();
|
cache2file();
|
||||||
dirty= 0;
|
dirty= 0;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int compose_reply(dns_t *dp, size_t *pdlen)
|
static int compose_reply(dns_t *dp, size_t *pdlen)
|
||||||
|
|
Loading…
Reference in a new issue