mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
helpers.cpp: reduce debug output in downloadUrl()
Usage of debug level INFO should be enough.
This commit is contained in:
@@ -1652,7 +1652,7 @@ bool getUrl(std::string& url, std::string& answer, std::string userAgent, unsign
|
||||
|
||||
bool downloadUrl(std::string url, std::string file, std::string userAgent, unsigned int timeout)
|
||||
{
|
||||
dprintf(DEBUG_NORMAL ,"downloadUrl: url:%s file:%s userAgent:%s\n", url.c_str(), file.c_str(), userAgent.c_str());
|
||||
dprintf(DEBUG_INFO ,"[%s - %d] url: %s\tfile: %s\tuserAgent: %s\n", __func__, __LINE__, url.c_str(), file.c_str(), userAgent.c_str());
|
||||
|
||||
CURL * curl_handle = curl_easy_init();
|
||||
|
||||
|
Reference in New Issue
Block a user