diff options
author | waker <wakeroid@gmail.com> | 2010-10-24 16:46:57 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-10-24 16:46:57 +0200 |
commit | c9cb38f6258053f5ca7322b6c1f2a7b0ac2f0d97 (patch) | |
tree | 0cdfcd2db41368a205bd26c33148850f64310ec0 | |
parent | 22a38d61c3fc9f5e454c7eee9737ff76097e9bab (diff) |
added curl NOSIGNAL fix to lastfm plugin
-rw-r--r-- | plugins/lastfm/lastfm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index 27c6f6f0..4a234e8f 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -119,6 +119,7 @@ curl_req_send (const char *req, const char *post) { memset(lfm_err, 0, sizeof(lfm_err)); curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, lfm_err); curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); + curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt (curl, CURLOPT_PROGRESSFUNCTION, lfm_curl_control); curl_easy_setopt (curl, CURLOPT_NOPROGRESS, 0); if (post) { |