X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=6e13a8be8964d83fa475af35ff9d03ecbbb253ed;hb=e35f3c5c634216860f14586a7d17232022d8b588;hp=6e0b907f1e89203150a554b76ea0fc93312de211;hpb=7d2c6544020d6864593bfcad284ca17faa337739;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 6e0b907f..6e13a8be 100644 --- a/src/bind.c +++ b/src/bind.c @@ -1382,6 +1382,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);