summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access/spdy/tst_spdy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/network/access/spdy/tst_spdy.cpp')
-rw-r--r--tests/auto/network/access/spdy/tst_spdy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/network/access/spdy/tst_spdy.cpp b/tests/auto/network/access/spdy/tst_spdy.cpp
index b68bb90123..34e5ab4a88 100644
--- a/tests/auto/network/access/spdy/tst_spdy.cpp
+++ b/tests/auto/network/access/spdy/tst_spdy.cpp
@@ -166,8 +166,7 @@ void tst_Spdy::settingsAndNegotiation()
QFETCH(QByteArray, expectedProtocol);
#ifndef QT_NO_OPENSSL
- bool expectedSpdyUsed = (expectedProtocol == QSslConfiguration::NextProtocolSpdy3_0)
- ? true : false;
+ bool expectedSpdyUsed = (expectedProtocol == QSslConfiguration::NextProtocolSpdy3_0);
QCOMPARE(reply->attribute(QNetworkRequest::SpdyWasUsedAttribute).toBool(), expectedSpdyUsed);
#endif // QT_NO_OPENSSL