Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and

errors.
This commit is contained in:
Daniel Stenberg 2004-11-18 14:04:40 +00:00
parent d46a573bbe
commit dcea109bb5
4 changed files with 14 additions and 9 deletions

View file

@ -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)) {