]> Zhao Yanbai Git Server - minix.git/commitdiff
fix missing return statement in nonamed causing network failure after 300s when compi...
authorErik van der Kouwe <erik@minix3.org>
Thu, 21 Apr 2011 19:14:25 +0000 (19:14 +0000)
committerErik van der Kouwe <erik@minix3.org>
Thu, 21 Apr 2011 19:14:25 +0000 (19:14 +0000)
commands/nonamed/nonamed.c

index d713ff788d328b632157983d3d7ec35da583cb00..4206b33220f468c123e3483c5bf6d37a67578e07 100644 (file)
@@ -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)