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/acountry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ares/acountry.c') diff --git a/ares/acountry.c b/ares/acountry.c index e61613c50..c30e6b7d7 100644 --- a/ares/acountry.c +++ b/ares/acountry.c @@ -199,7 +199,7 @@ int main(int argc, char **argv) */ static void wait_ares(ares_channel channel) { - while (1) + for (;;) { struct timeval *tvp, tv; fd_set read_fds, write_fds; -- cgit v1.2.3