X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=b640a59669a363fe7a0b4e73ccdcb419877a8b47;hb=3904b4b9fd1a53c93f31d8fec709a7b7b8300513;hp=db8a891f17252430b104184042918812e05e8534;hpb=50c6b81549e3239034f71f00ff7dde4c6a8767e5;p=collectd.git diff --git a/src/bind.c b/src/bind.c index db8a891f..b640a596 100644 --- a/src/bind.c +++ b/src/bind.c @@ -1385,6 +1385,7 @@ static int bind_init (void) /* {{{ */ return (-1); } + curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, bind_curl_callback); curl_easy_setopt (curl, CURLOPT_USERAGENT, PACKAGE_NAME"/"PACKAGE_VERSION); curl_easy_setopt (curl, CURLOPT_ERRORBUFFER, bind_curl_error);