diff options
-rw-r--r-- | src/network/access/qhttpnetworkconnectionchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |