[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdelibs=5D_kioslave/http=3A_Krazy_fixes?=
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2011-02-01 18:37:46
Message-ID: 20110201183746.A6F6AA609B () git ! kde ! org
[Download RAW message or body]
Git commit 966b285bf5c26f9952f8ea5f91676450b413f597 by Dawit Alemayehu.
Committed on 01/02/11 at 19:36.
Pushed by adawit into branch 'master'.
Krazy fixes
M +3 -3 kioslave/http/http.cpp
M +1 -1 kioslave/http/httpauthentication.cpp
http://commits.kde.org/kdelibs/966b285bf5c26f9952f8ea5f91676450b413f597
diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
index b8ccdb6..187e3c7 100644
--- a/kioslave/http/http.cpp
+++ b/kioslave/http/http.cpp
@@ -1870,7 +1870,7 @@ void HTTPProtocol::multiGet(const QByteArray &data)
resetSessionSettings();
- for (unsigned i = 0; i < n; i++) {
+ for (unsigned i = 0; i < n; ++i) {
KUrl url;
stream >> url >> mIncomingMetaData;
@@ -2035,7 +2035,7 @@ bool HTTPProtocol::readDelimitedText(char *buf, int *idx, int end, int numNewlin
}
size_t bufferFill = readBuffered(mybuf, step);
- for (size_t i = 0; i < bufferFill ; i++, pos++) {
+ for (size_t i = 0; i < bufferFill ; ++i, ++pos) {
// we copy the data from mybuf to buf immediately and look for the newlines in buf.
// that way we don't miss newlines split over several invocations of this method.
buf[pos] = mybuf[i];
@@ -4935,7 +4935,7 @@ void HTTPProtocol::cacheFileWritePayload(const QByteArray &d)
// do not cache it! See BR# 244215. NOTE: this can be improved upon in the
// future...
if (m_iSize >= (m_maxCacheSize * 1024)) {
- kDebug(7113) << "Caching diabled because content size is too big.";
+ kDebug(7113) << "Caching disabled because content size is too big.";
cacheFileClose();
return;
}
diff --git a/kioslave/http/httpauthentication.cpp b/kioslave/http/httpauthentication.cpp
index de6f4b5..a38ba3b 100644
--- a/kioslave/http/httpauthentication.cpp
+++ b/kioslave/http/httpauthentication.cpp
@@ -444,7 +444,7 @@ void KHttpDigestAuthentication::generateResponse(const QString &user, const QStr
if (info.qop.contains("auth"))
info.qop = "auth";
else {
- kWarning(7113) << "Unsupported digest authentication qop paramters:" << values;
+ kWarning(7113) << "Unsupported digest authentication qop parameters:" << values;
info.qop.clear();
}
} else if (info.qop == "auth-int") {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic