mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
helpers.cpp: reduce debug output in downloadUrl()
Usage of debug level INFO should be enough.
Origin commit data
------------------
Commit: 4adec299c9
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-10-28 (Sun, 28 Oct 2018)
This commit is contained in:
@@ -1839,7 +1839,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