aboutsummaryrefslogtreecommitdiff
path: root/ares/acountry.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-10 18:41:03 +0000
committerYang Tse <yangsita@gmail.com>2009-11-10 18:41:03 +0000
commit1aa320dedbf7e9a39fd1dcf599065f6de7bf9fd2 (patch)
tree460939da7c12042f2fbb7143db1df161934acb5d /ares/acountry.c
parentd17ce4e9f12f5c76174011a0928737bf1b24b538 (diff)
Fix compiler warning: conditional expression is constant
Diffstat (limited to 'ares/acountry.c')
-rw-r--r--ares/acountry.c2
1 files changed, 1 insertions, 1 deletions
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;