summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkrequest.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-01-29 15:35:43 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-01-29 15:35:43 (GMT)
commit8e8eb3591ea4725bd4217f8dae80c3ad4f529e12 (patch)
treef07058568d1e7613792907638c90a23f715c5fb8 /src/network/access/qnetworkrequest.cpp
parentaf8b3c9d911a7ad6722bfa587b8a2f48c4254de3 (diff)
parent75ec5d485dfa8f43306bfea5993d6a8aae7abb45 (diff)
downloadQt-8e8eb3591ea4725bd4217f8dae80c3ad4f529e12.zip
Qt-8e8eb3591ea4725bd4217f8dae80c3ad4f529e12.tar.gz
Qt-8e8eb3591ea4725bd4217f8dae80c3ad4f529e12.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
-rw-r--r--src/network/access/qnetworkrequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp
index 6dcd05d..a2bef67 100644
--- a/src/network/access/qnetworkrequest.cpp
+++ b/src/network/access/qnetworkrequest.cpp
@@ -649,7 +649,7 @@ static QVariant parseCookieHeader(const QByteArray &raw)
{
QList<QNetworkCookie> result;
QList<QByteArray> cookieList = raw.split(';');
- foreach (QByteArray cookie, cookieList) {
+ foreach (const QByteArray &cookie, cookieList) {
QList<QNetworkCookie> parsed = QNetworkCookie::parseCookies(cookie.trimmed());
if (parsed.count() != 1)
return QVariant(); // invalid Cookie: header