dnsresolv: fix timeouts, clean up types
authorH. Peter Anvin <hpa@zytor.com>
Mon, 24 Aug 2009 22:43:21 +0000 (15:43 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 24 Aug 2009 22:43:21 +0000 (15:43 -0700)
commit6b1a837bf5794bee3a2a3e1733bea321d12a89ad
tree9edc6edfaf9cb602c49f2b6a4488731e6e914d57
parentcd20609d1e2bb3dad3881cc7f6286f165b9a2d42
dnsresolv: fix timeouts, clean up types

Fix timeouts: it was way too easy to make the code give up, which
often resulted in a zero response even if valid data would soon be
available.

Also avoid passing char ** when we don't really need it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/pxe/dhcp_option.c
core/fs/pxe/dnsresolv.c
core/fs/pxe/pxe.h