From edffc566001b10fe4a50985f644a33c576bedf38 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 16 Sep 2011 08:50:39 +0200 Subject: [PATCH] input/curl: clear the "paused" flag before resuming curl_easy_pause(CURLPAUSE_CONT) may have added enough data to go into pause again. --- src/input/curl_input_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c index 4b0c7acd8..9b0cfab2e 100644 --- a/src/input/curl_input_plugin.c +++ b/src/input/curl_input_plugin.c @@ -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;