summaryrefslogtreecommitdiff
path: root/acountry.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-04 17:23:39 +0200
committerYang Tse <yangsita@gmail.com>2011-09-04 17:23:39 +0200
commita831da792d627d9b351b9418dbc238cca7cd71fd (patch)
tree59c2af6f9e718716eb3fe5d7a3973ddad24363e9 /acountry.c
parentbab721cb1cad87e01b3c240821be47755bdc4bac (diff)
downloadc-ares-a831da792d627d9b351b9418dbc238cca7cd71fd.tar.gz
c-ares-a831da792d627d9b351b9418dbc238cca7cd71fd.tar.bz2
c-ares-a831da792d627d9b351b9418dbc238cca7cd71fd.zip
fix MSVC compiler warning 'conditional expression is constant'
Diffstat (limited to 'acountry.c')
-rw-r--r--acountry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/acountry.c b/acountry.c
index d989018..e33e0f8 100644
--- a/acountry.c
+++ b/acountry.c
@@ -89,7 +89,7 @@ static int verbose = 0;
#define TRACE(fmt) do { \
if (verbose > 0) \
printf fmt ; \
- } while (0)
+ } WHILE_FALSE
static void wait_ares(ares_channel channel);
static void callback(void *arg, int status, int timeouts, struct hostent *host);