diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-07-11 14:44:38 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-11 14:52:37 +0200 |
commit | 59339941e0e6e2b8648c2e128284de188a65714b (patch) | |
tree | d2f19ebbac24dfc5872509cb74262375cd3e8962 /src/network/access | |
parent | 62e6608f6932c6d871d17b0ccce0c7b388866458 (diff) |
Fix some spelling errors
Change-Id: I19d3b2e9a5180b13deb828b55195404ef20be295
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qhttpnetworkconnection.cpp | 4 | ||||
-rw-r--r-- | src/network/access/qhttpnetworkconnectionchannel.cpp | 4 | ||||
-rw-r--r-- | src/network/access/qhttpnetworkreply.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/network/access/qhttpnetworkconnection.cpp b/src/network/access/qhttpnetworkconnection.cpp index 6e56aa6126..b0c4deb2b9 100644 --- a/src/network/access/qhttpnetworkconnection.cpp +++ b/src/network/access/qhttpnetworkconnection.cpp @@ -551,7 +551,7 @@ QHttpNetworkReply* QHttpNetworkConnectionPrivate::queueRequest(const QHttpNetwor break; } - // For Happy Eyeballs the networkLayerState is set to Unkown + // For Happy Eyeballs the networkLayerState is set to Unknown // untill we have started the first connection attempt. So no // request will be started untill we know if IPv4 or IPv6 // should be used. @@ -975,7 +975,7 @@ void QHttpNetworkConnectionPrivate::startHostInfoLookup() { networkLayerState = InProgress; - // check if we already now can descide if this is IPv4 or IPv6 + // check if we already now can decide if this is IPv4 or IPv6 QString lookupHost = hostName; #ifndef QT_NO_NETWORKPROXY if (networkProxy.capabilities() & QNetworkProxy::HostNameLookupCapability) { diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp index 2971854060..9cbdcd65bd 100644 --- a/src/network/access/qhttpnetworkconnectionchannel.cpp +++ b/src/network/access/qhttpnetworkconnectionchannel.cpp @@ -505,7 +505,7 @@ void QHttpNetworkConnectionChannel::_q_receiveReply() emit reply->dataReadProgress(replyPrivate->totalProgress, replyPrivate->bodyLength); } } else if (haveRead == -1) { - // Some error occured + // Some error occurred connection->d_func()->emitReplyError(socket, reply, QNetworkReply::ProtocolFailure); break; } @@ -1116,7 +1116,7 @@ void QHttpNetworkConnectionChannel::_q_error(QAbstractSocket::SocketError socket if (socket->bytesAvailable()) { // Read everything from the socket into the reply buffer. // we can ignore the readbuffersize as the data is already - // in memory and we will not recieve more data on the socket. + // in memory and we will not receive more data on the socket. reply->setReadBufferSize(0); _q_receiveReply(); #ifndef QT_NO_SSL diff --git a/src/network/access/qhttpnetworkreply.cpp b/src/network/access/qhttpnetworkreply.cpp index 6790e1b9ca..14205112df 100644 --- a/src/network/access/qhttpnetworkreply.cpp +++ b/src/network/access/qhttpnetworkreply.cpp @@ -719,7 +719,7 @@ qint64 QHttpNetworkReplyPrivate::uncompressBodyData(QByteDataBuffer *in, QByteDa int ret = inflate(inflateStrm, Z_NO_FLUSH); //All negative return codes are errors, in the context of HTTP compression, Z_NEED_DICT is also an error. - // in the case where we get Z_DATA_ERROR this could be because we recieved raw deflate compressed data. + // in the case where we get Z_DATA_ERROR this could be because we received raw deflate compressed data. if (ret == Z_DATA_ERROR && !triedRawDeflate) { inflateEnd(inflateStrm); triedRawDeflate = true; |