[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kioslave/http
From: Dirk Mueller <mueller () kde ! org>
Date: 2004-11-14 11:07:52
Message-ID: 20041114110752.2EC4D16DCF () office ! kde ! org
[Download RAW message or body]
CVS commit by mueller:
using pre/post increments in an argument list is undefined behavior.
M +1 -1 http.cc 1.633
--- kdelibs/kioslave/http/http.cc #1.632:1.633
@@ -2967,5 +2967,5 @@ bool HTTPProtocol::readHeader()
{
mediaAttribute = QString::fromLatin1(start, pos-start).stripWhiteSpace().lower();
- mediaValue = QString::fromLatin1(++pos, end-pos).stripWhiteSpace();
+ mediaValue = QString::fromLatin1(pos+1, end-pos-1).stripWhiteSpace();
pos = end;
if (mediaValue.length() &&
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic