diff options
| author | Christoph Berg <myon@debian.org> | 2022-12-04 22:15:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2022-12-04 22:15:32 +0100 |
| commit | fa73b3f50ec6ead52c3371a96f62bc6e666a9ee5 (patch) | |
| tree | 6971e745fdf2f4c6b81ded57e87d233840971d62 /Network | |
| parent | 4d2fac0dafe835b1ed479bebe136c3afe748ecf3 (diff) | |
New upstream version 2.6.0~rc5+repackupstream/2.6.0_rc5+repack
Diffstat (limited to 'Network')
| -rwxr-xr-x | Network/MessageClient.cpp | 1 | ||||
| -rwxr-xr-x | Network/wsprnet.cpp | 5 |
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);
}
|
