X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcurl_xml.c;h=6d36d29dd2172178757d81ec37efcfa23c882577;hb=130dd691b94de0744c0fc8f9f3e760896e4f2d83;hp=ba24ffd945831d0a47f8e5bdf4abab920fe7958c;hpb=3559c66d34c46ddbe6580b7950eaba7c48393cc0;p=collectd.git diff --git a/src/curl_xml.c b/src/curl_xml.c index ba24ffd9..6d36d29d 100644 --- a/src/curl_xml.c +++ b/src/curl_xml.c @@ -863,11 +863,11 @@ static int cx_init_curl (cx_t *db) /* {{{ */ curl_easy_setopt (db->curl, CURLOPT_USERPWD, db->credentials); if (db->digest) - { - curl_easy_setopt (db->curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); - curl_easy_setopt (db->curl, CURLOPT_USERNAME, db->user); - curl_easy_setopt (db->curl, CURLOPT_PASSWORD, db->pass); - } + { + curl_easy_setopt (db->curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); + curl_easy_setopt (db->curl, CURLOPT_USERNAME, db->user); + curl_easy_setopt (db->curl, CURLOPT_PASSWORD, db->pass); + } } curl_easy_setopt (db->curl, CURLOPT_SSL_VERIFYPEER, db->verify_peer ? 1L : 0L);