summaryrefslogtreecommitdiff
path: root/psk_reporter.cpp
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:18:44 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:18:44 +0000
commit368f5331a7641772aa7e0cd1feea57d09a394a36 (patch)
treeb421ac60cc6eb726896ea268ea24e47fc4ce7c88 /psk_reporter.cpp
parent71c717edc92fa771c857b3c2e5ed65f523f68f90 (diff)
parent37f727ac0746fd85504aa46c1f023c09b3eff33a (diff)
Update upstream source from tag 'upstream/1.8.0+repack'
Update to upstream version '1.8.0+repack' with Debian dir a83ef78cb70a32d1211871fdc08f3ffa295e45a8
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);
}
}