aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/multi.c3
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 */
}
/*