From ad76f235ac494a555206b656aa06127ba6510933 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Sat, 25 Nov 2017 18:11:15 -0500 Subject: [PATCH] netd: shut off gethost's alarm after matching answer arrives --- Applications/netd/gethostbyname.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/netd/gethostbyname.c b/Applications/netd/gethostbyname.c index 75c1cabf..ec03fc8a 100644 --- a/Applications/netd/gethostbyname.c +++ b/Applications/netd/gethostbyname.c @@ -180,6 +180,7 @@ struct hostent *gethostbyname( char *name ){ process: /* process packet */ + alarm(0); { struct header *h = (struct header *)buf; struct RRtail *t; -- 2.34.1