From c9cb38f6258053f5ca7322b6c1f2a7b0ac2f0d97 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 24 Oct 2010 16:46:57 +0200 Subject: added curl NOSIGNAL fix to lastfm plugin --- plugins/lastfm/lastfm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/lastfm') 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) { -- cgit v1.2.3