X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fbind.c;h=b640a59669a363fe7a0b4e73ccdcb419877a8b47;hp=db8a891f17252430b104184042918812e05e8534;hb=ba2ee9aec4c0454eed8f29b4c6ce96c6fc372346;hpb=cf9ac771ade7c5ba75ab13d2b4f2482983994840 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);