From: Erik van der Kouwe Date: Thu, 21 Apr 2011 19:14:25 +0000 (+0000) Subject: fix missing return statement in nonamed causing network failure after 300s when compi... X-Git-Tag: v3.2.0~568 X-Git-Url: http://zhaoyanbai.com/repos/man.host.html?a=commitdiff_plain;h=c50ec2b4e2c4fbf22efa4ac86093dd8c446bde12;p=minix.git fix missing return statement in nonamed causing network failure after 300s when compiling with GCC --- diff --git a/commands/nonamed/nonamed.c b/commands/nonamed/nonamed.c index d713ff788..4206b3322 100644 --- a/commands/nonamed/nonamed.c +++ b/commands/nonamed/nonamed.c @@ -1156,6 +1156,7 @@ static int job_save_cache(void *data, int expired) if (!expired) return 0; cache2file(); dirty= 0; + return 1; } static int compose_reply(dns_t *dp, size_t *pdlen)