aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-18 14:04:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-18 14:04:40 +0000
commitdcea109bb5ce1c8afeb0510945eb15e86cfcf1dc (patch)
tree368d27b14ccfb3b3e775da0a8f30bc6f6e188203 /lib/url.c
parentd46a573bbedae5fdf402d47ce4bd8e84347c390c (diff)
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 6ee238360..882d74719 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -206,7 +206,8 @@ void Curl_safefree(void *ptr)
CURLcode Curl_close(struct SessionHandle *data)
{
/* Loop through all open connections and kill them one by one */
- while(-1 != ConnectionKillOne(data));
+ while(-1 != ConnectionKillOne(data))
+ ; /* empty loop */
if ( ! (data->share && data->share->hostcache) ) {
if ( !Curl_global_host_cache_use(data)) {