diff --git a/Sources/Gui/PackageUpdateManager.cpp b/Sources/Gui/PackageUpdateManager.cpp index 41311014d..ee7ea0a2e 100644 --- a/Sources/Gui/PackageUpdateManager.cpp +++ b/Sources/Gui/PackageUpdateManager.cpp @@ -145,7 +145,8 @@ namespace spades { curl.get(), CURLOPT_XFERINFOFUNCTION, static_cast( [](void *, curl_off_t total, curl_off_t downloaded, curl_off_t, curl_off_t) -> int { - SPLog("Downloaded %zd bytes/%zd bytes", downloaded, total); + if (total > 0) + SPLog("Downloaded %zd bytes/%zd bytes", downloaded, total); return 0; }));