Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
This commit is contained in:
@@ -84,7 +84,7 @@ METHOD(fetcher_t, fetch, status_t,
|
||||
curl_easy_setopt(this->curl, CURLOPT_HTTPHEADER, this->headers);
|
||||
}
|
||||
|
||||
DBG2(" sending http request to '%s'...", uri);
|
||||
DBG2(DBG_LIB, " sending http request to '%s'...", uri);
|
||||
switch (curl_easy_perform(this->curl))
|
||||
{
|
||||
case CURLE_UNSUPPORTED_PROTOCOL:
|
||||
@@ -94,7 +94,7 @@ METHOD(fetcher_t, fetch, status_t,
|
||||
status = SUCCESS;
|
||||
break;
|
||||
default:
|
||||
DBG1("libcurl http request failed: %s", error);
|
||||
DBG1(DBG_LIB, "libcurl http request failed: %s", error);
|
||||
status = FAILED;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ plugin_t *curl_plugin_create()
|
||||
}
|
||||
else
|
||||
{
|
||||
DBG1("global libcurl initializing failed: %s, curl disabled",
|
||||
DBG1(DBG_LIB, "global libcurl initializing failed: %s, curl disabled",
|
||||
curl_easy_strerror(res));
|
||||
}
|
||||
return &this->public.plugin;
|
||||
|
||||
Reference in New Issue
Block a user