summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-12-30 22:43:34 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-12-30 22:43:34 (GMT)
commit44109ecd14a707a78140a06e1452d30d52be33af (patch)
tree79b29bd3443347068cbd870041cd1153e0b4aeba
parent9e26955ab926afe1bc3306d5f6fcab0c5dfe4db1 (diff)
parent8365b863419ad68f7dde7b7595e1b943ad9670ca (diff)
downloadQt-44109ecd14a707a78140a06e1452d30d52be33af.zip
Qt-44109ecd14a707a78140a06e1452d30d52be33af.tar.gz
Qt-44109ecd14a707a78140a06e1452d30d52be33af.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixed networkselftest failing to resolve hostname
-rw-r--r--tests/auto/networkselftest/tst_networkselftest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/networkselftest/tst_networkselftest.cpp b/tests/auto/networkselftest/tst_networkselftest.cpp
index 752e368..5e9c50e 100644
--- a/tests/auto/networkselftest/tst_networkselftest.cpp
+++ b/tests/auto/networkselftest/tst_networkselftest.cpp
@@ -337,7 +337,7 @@ QHostAddress tst_NetworkSelfTest::serverIpAddress()
// need resolving
QHostInfo resolved = QHostInfo::fromName(QtNetworkSettings::serverName());
if(resolved.error() != QHostInfo::NoError ||
- !resolved.addresses().isEmpty()) {
+ resolved.addresses().isEmpty()) {
qWarning("QHostInfo::fromName failed (%d).", resolved.error());
return QHostAddress(QHostAddress::Null);
}