diff --git a/lib/url.c b/lib/url.c index bf2327589..065b74f62 100644 --- a/lib/url.c +++ b/lib/url.c @@ -232,7 +232,7 @@ static void close_connections(struct SessionHandle *data) { /* Loop through all open connections and kill them one by one */ long i; - do { + do i = ConnectionKillOne(data); while(i != -1L); }