aboutsummaryrefslogtreecommitdiff
path: root/ares/adig.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/adig.c')
-rw-r--r--ares/adig.c2
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);