From 1aa320dedbf7e9a39fd1dcf599065f6de7bf9fd2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 10 Nov 2009 18:41:03 +0000 Subject: Fix compiler warning: conditional expression is constant --- ares/ahost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares/ahost.c') diff --git a/ares/ahost.c b/ares/ahost.c index 4e2934057..ce5d35903 100644 --- a/ares/ahost.c +++ b/ares/ahost.c @@ -140,7 +140,7 @@ int main(int argc, char **argv) } /* Wait for all queries to complete. */ - while (1) + for (;;) { FD_ZERO(&read_fds); FD_ZERO(&write_fds); -- cgit v1.2.3