diff options
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);
}
|
