]> git.ipfire.org Git - pakfire.git/commitdiff
downloader: Log cURL stuff to the debug log
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Sep 2023 17:35:53 +0000 (17:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Sep 2023 17:35:53 +0000 (17:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/downloader.c

index efa823badc88ee7eab626ce1c11f13c878adbc8f..81839cbeea3279b391104232729b7a36e6c63ff7 100644 (file)
@@ -405,7 +405,7 @@ static struct pakfire_transfer* pakfire_downloader_create_transfer(
        curl_easy_setopt(transfer->handle, CURLOPT_USERAGENT, PACKAGE_NAME "/" PACKAGE_VERSION);
 
        // Enable logging/debugging
-       curl_easy_setopt(transfer->handle, CURLOPT_VERBOSE, 0);
+       curl_easy_setopt(transfer->handle, CURLOPT_VERBOSE, 1L);
 
 #ifdef ENABLE_DEBUG
        curl_easy_setopt(transfer->handle, CURLOPT_DEBUGFUNCTION, debug_callback);