summaryrefslogtreecommitdiff
path: root/psk_reporter.cpp
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /psk_reporter.cpp
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'psk_reporter.cpp')
-rw-r--r--psk_reporter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/psk_reporter.cpp b/psk_reporter.cpp
index dd2b424e..38d10417 100644
--- a/psk_reporter.cpp
+++ b/psk_reporter.cpp
@@ -38,7 +38,6 @@ PSK_Reporter::PSK_Reporter(MessageClient * message_client, QObject *parent) :
"00960004"; // Report time
- qsrand(QDateTime::currentDateTime().toTime_t());
m_randomId_h = QString("%1").arg(qrand(),8,16,QChar('0'));
QHostInfo::lookupHost("report.pskreporter.info", this, SLOT(dnsLookupResult(QHostInfo)));
@@ -112,7 +111,7 @@ void PSK_Reporter::sendReport()
// Send data to PSK Reporter site
if (!m_pskReporterAddress.isNull()) {
- m_messageClient->send_raw_datagram (report, m_pskReporterAddress, 4739);
+ m_messageClient->send_raw_datagram (report, m_pskReporterAddress, 4739);
}
}