From 3484489af72c0cad3fac28f7c8b953c32e6feb9a Mon Sep 17 00:00:00 2001 From: Martin Petersson Date: Tue, 22 May 2012 10:37:05 +0200 Subject: QNetwork: fix compilation with no openssl Change-Id: Id637dd1155c46ffc75563812b8c9d5f062e76e22 Reviewed-by: Sergio Ahumada Reviewed-by: Richard J. Moore --- src/network/access/qhttpnetworkconnectionchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp index 52dfc65..58e7bcc 100644 --- a/src/network/access/qhttpnetworkconnectionchannel.cpp +++ b/src/network/access/qhttpnetworkconnectionchannel.cpp @@ -1080,7 +1080,7 @@ void QHttpNetworkConnectionChannel::_q_error(QAbstractSocket::SocketError socket // in memory and we will not recieve more data on the socket. reply->setReadBufferSize(0); _q_receiveReply(); -#ifndef QT_NO_SSL +#ifndef QT_NO_OPENSSL if (ssl) { // QT_NO_OPENSSL. The QSslSocket can still have encrypted bytes in the plainsocket. // So we need to check this if the socket is a QSslSocket. When the socket is flushed -- cgit v0.12