From 2694f3976ab8b6b2108338fdce7191c65cc54ec1 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Sun, 20 Nov 2022 17:47:54 +0100 Subject: [PATCH] Remove excess new line from "Header:" download debug output --- src/downloadthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloadthread.cpp b/src/downloadthread.cpp index e9e24b7..f41f7d7 100644 --- a/src/downloadthread.cpp +++ b/src/downloadthread.cpp @@ -585,7 +585,7 @@ void DownloadThread::_header(const string &header) { _lastModified = curl_getdate(header.data()+15, NULL); } - qDebug() << "Received header:" << header.c_str(); + qDebug() << "Received header:" << QByteArray(header.c_str()).trimmed(); } void DownloadThread::cancelDownload()