diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-04 14:39:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-04 14:39:19 +0000 |
commit | 8709f6c4b30eda92da0cd51cec83a1a6d7db8c32 (patch) | |
tree | e188e29702c36816adb99190916cbbfe93adae6f | |
parent | 2ac560e58bb92c8225919f782e18fc93b436b9d9 (diff) |
oops, the previous commit was incomplete as we made an unconditional call
to multi_runsingle() without it being really necessary or good
-rw-r--r-- | lib/multi.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ } /* |