diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-10 18:41:03 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-10 18:41:03 +0000 |
commit | 1aa320dedbf7e9a39fd1dcf599065f6de7bf9fd2 (patch) | |
tree | 460939da7c12042f2fbb7143db1df161934acb5d /ares/adig.c | |
parent | d17ce4e9f12f5c76174011a0928737bf1b24b538 (diff) |
Fix compiler warning: conditional expression is constant
Diffstat (limited to 'ares/adig.c')
-rw-r--r-- | ares/adig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/adig.c b/ares/adig.c index 8488d97e9..2a0b43c5c 100644 --- a/ares/adig.c +++ b/ares/adig.c @@ -321,7 +321,7 @@ int main(int argc, char **argv) } /* Wait for all queries to complete. */ - while (1) + for (;;) { FD_ZERO(&read_fds); FD_ZERO(&write_fds); |