Commit edffc566 authored by Max Kellermann's avatar Max Kellermann

input/curl: clear the "paused" flag before resuming

curl_easy_pause(CURLPAUSE_CONT) may have added enough data to go into pause again.
parent 856b0e68
......@@ -198,8 +198,8 @@ input_curl_resume(gpointer data)
struct input_curl *c = data;
if (c->paused) {
curl_easy_pause(c->easy, CURLPAUSE_CONT);
c->paused = false;
curl_easy_pause(c->easy, CURLPAUSE_CONT);
}
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment