diff options
author | Max Kellermann <max@duempel.org> | 2011-09-16 08:50:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-16 09:11:15 +0200 |
commit | edffc566001b10fe4a50985f644a33c576bedf38 (patch) | |
tree | 84005ba30d632645d83f5f56e784e71ce0a6bad0 /src/input | |
parent | 856b0e6886e162d15145550c498bdf3ed9c73a7a (diff) | |
download | mpd-edffc566001b10fe4a50985f644a33c576bedf38.tar.gz mpd-edffc566001b10fe4a50985f644a33c576bedf38.tar.xz mpd-edffc566001b10fe4a50985f644a33c576bedf38.zip |
input/curl: clear the "paused" flag before resuming
curl_easy_pause(CURLPAUSE_CONT) may have added enough data to go into
pause again.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/curl_input_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |