summaryrefslogtreecommitdiff
path: root/Network
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2022-12-04 22:15:46 +0100
committerChristoph Berg <myon@debian.org>2022-12-04 22:15:46 +0100
commit720f65addc6e7039817074330332b1a2b3110dc3 (patch)
tree23e67126ac6495e4fc0cb6c59f845f98468ae1b2 /Network
parent7fade58d254e231b623febf3d303c108cd03e805 (diff)
parentfa73b3f50ec6ead52c3371a96f62bc6e666a9ee5 (diff)
Update upstream source from tag 'upstream/2.6.0_rc5+repack'
Update to upstream version '2.6.0~rc5+repack' with Debian dir e1472b5b51a5aa5dbb8c6e570a987179dd626bfc
Diffstat (limited to 'Network')
-rwxr-xr-xNetwork/MessageClient.cpp1
-rwxr-xr-xNetwork/wsprnet.cpp5
2 files changed, 4 insertions, 2 deletions
diff --git a/Network/MessageClient.cpp b/Network/MessageClient.cpp
index 57df6665..aa26fa1f 100755
--- a/Network/MessageClient.cpp
+++ b/Network/MessageClient.cpp
@@ -137,6 +137,7 @@ void MessageClient::impl::host_info_results (QHostInfo host_info)
if (QHostInfo::NoError != host_info.error ())
{
Q_EMIT self_->error ("UDP server DNS lookup failed: " + host_info.errorString ());
+ return;
}
else
{
diff --git a/Network/wsprnet.cpp b/Network/wsprnet.cpp
index 4f3bc9a0..ec4ed9e4 100755
--- a/Network/wsprnet.cpp
+++ b/Network/wsprnet.cpp
@@ -278,9 +278,10 @@ QString WSPRNet::encode_mode () const
if (m_mode == "FST4W")
{
auto tr = static_cast<int> ((TR_period_ / 60.)+.5);
- if (2 == tr || 15 == tr)
+// if (2 == tr || 15 == tr)
+ if (2 == tr)
{
- tr += 1; // distinguish from WSPR-2 and WSPR-15
+ tr += 1; // distinguish from WSPR-2
}
return QString::number (tr);
}