summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c1
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) {