increased control debugging output
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 Mar 2007 07:22:37 +0000 (07:22 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 Mar 2007 07:22:37 +0000 (07:22 -0000)
src/libstrongswan/utils/fetcher.c

index 30154f8..8d960a8 100644 (file)
@@ -110,12 +110,12 @@ static chunk_t post(private_fetcher_t *this, const char *request_type, chunk_t r
                curl_easy_setopt(this->curl, CURLOPT_FAILONERROR, TRUE);
                curl_easy_setopt(this->curl, CURLOPT_CONNECTTIMEOUT, FETCHER_TIMEOUT);
 
                curl_easy_setopt(this->curl, CURLOPT_FAILONERROR, TRUE);
                curl_easy_setopt(this->curl, CURLOPT_CONNECTTIMEOUT, FETCHER_TIMEOUT);
 
-               DBG2("sending http post request to '%s'", this->uri);
+               DBG1("sending http post request to '%s'...", this->uri);
                res = curl_easy_perform(this->curl);
 
                if (res == CURLE_OK)
                {
                res = curl_easy_perform(this->curl);
 
                if (res == CURLE_OK)
                {
-               DBG2("received valid http response");
+               DBG1("received valid http response");
                        response = chunk_clone(curl_response);
                }
                else
                        response = chunk_clone(curl_response);
                }
                else