summaryrefslogtreecommitdiff
path: root/adig.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
commit1c5f8be38d7eed4c18eb52df8e6684a9a02c93e0 (patch)
tree0fda201a3960dff0c42e427090bb5f9860b3c4b2 /adig.c
parent253ad4a72619f55e365ce104df6784acb834c0b7 (diff)
downloadc-ares-1c5f8be38d7eed4c18eb52df8e6684a9a02c93e0.tar.gz
c-ares-1c5f8be38d7eed4c18eb52df8e6684a9a02c93e0.tar.bz2
c-ares-1c5f8be38d7eed4c18eb52df8e6684a9a02c93e0.zip
Fix compiler warning: conditional expression is constant
Diffstat (limited to 'adig.c')
-rw-r--r--adig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adig.c b/adig.c
index 8488d97..2a0b43c 100644
--- a/adig.c
+++ b/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);