From 8709f6c4b30eda92da0cd51cec83a1a6d7db8c32 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 4 Aug 2006 14:39:19 +0000 Subject: oops, the previous commit was incomplete as we made an unconditional call to multi_runsingle() without it being really necessary or good --- lib/multi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/multi.c b/lib/multi.c index 4e6efecd1..d822bda52 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1206,6 +1206,9 @@ static CURLMcode multi_socket(struct Curl_multi *multi, /* Now we fall-through and do the timer-based stuff, since we don't want to force the user to have to deal with timeouts as long as at least one connection in fact has traffic. */ + + data = NULL; /* set data to NULL again to avoid calling multi_runsingle() + in case there's no need to */ } /* -- cgit v1.2.3