diff options
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 7bb8c966c..fc72cb8c3 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -174,7 +174,8 @@ void Curl_global_host_cache_dtor(void) int Curl_num_addresses(const Curl_addrinfo *addr) { int i; - for (i = 0; addr; addr = addr->ai_next, i++); + for (i = 0; addr; addr = addr->ai_next, i++) + ; /* empty loop */ return i; } |