diff options
-rw-r--r-- | tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp b/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp index 542147c..c35cdeb 100644 --- a/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp +++ b/tests/manual/network_remote_stresstest/tst_network_remote_stresstest.cpp @@ -123,11 +123,13 @@ tst_NetworkRemoteStressTest::tst_NetworkRemoteStressTest() while (!urlList.atEnd()) { QByteArray line = urlList.readLine().trimmed(); QUrl url = QUrl::fromEncoded(line); - if (url.scheme() == "http") + if (url.scheme() == "http") { httpUrls << url; - else if (url.scheme() == "https") + mixedUrls << url; + } else if (url.scheme() == "https") { httpsUrls << url; - mixedUrls << url; + mixedUrls << url; + } } } |