From 059831534c7e884f0a607ed86b582fd00d821731 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Sat, 26 Sep 2026 23:24:03 +0200 Subject: New upstream version 3.2.0~rc1+dfsg --- Network/PSKReporter.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Network/PSKReporter.cpp') diff --git a/Network/PSKReporter.cpp b/Network/PSKReporter.cpp index 5a0eac26..b91713ee 100644 --- a/Network/PSKReporter.cpp +++ b/Network/PSKReporter.cpp @@ -32,10 +32,6 @@ namespace { - QLatin1String HOST {"report.pskreporter.info"}; - // QLatin1String HOST {"127.0.0.1"}; - quint16 SERVICE_PORT {4739}; - // quint16 SERVICE_PORT {14739}; int MIN_SEND_INTERVAL {120}; // in seconds int FLUSH_INTERVAL {MIN_SEND_INTERVAL + 5}; // in send intervals int MAX_PENDING_SPOTS {2048}; @@ -162,8 +158,11 @@ public: // use this for pseudo connection with UDP, allows us to use // QIODevice::write() instead of QUDPSocket::writeDatagram() - socket_->connectToHost (HOST, SERVICE_PORT, QAbstractSocket::WriteOnly); - LOG_LOG_LOCATION (logger_, debug, "remote host: " << HOST.latin1 () << " port: " << SERVICE_PORT); + socket_->connectToHost (options_.destination_host, options_.destination_port, + QAbstractSocket::WriteOnly); + LOG_LOG_LOCATION (logger_, debug, + "remote host: " << qPrintable (options_.destination_host) + << " port: " << options_.destination_port); if (!report_timer_.isActive ()) { -- cgit v1.2.3