[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepimlibs] kimap: KIMAP::FetchJob: When parsing a quoted string,
From: Gregory Schlomoff <gregory.schlomoff () gmail ! com>
Date: 2011-08-31 21:54:12
Message-ID: 20110831215412.7998EA6078 () git ! kde ! org
[Download RAW message or body]
Git commit b08cb6df22600432e9d00ada719f9a125a083b89 by Gregory Schlomoff.
Committed on 31/08/2011 at 23:36.
Pushed by schlomoff into branch 'master'.
KIMAP::FetchJob: When parsing a quoted string, we were returning the
closing quote along with the string.
M +1 -1 kimap/fetchjob.cpp
http://commits.kde.org/kdepimlibs/b08cb6df22600432e9d00ada719f9a125a083b89
diff --git a/kimap/fetchjob.cpp b/kimap/fetchjob.cpp
index 5ed0a05..d4e9a14 100644
--- a/kimap/fetchjob.cpp
+++ b/kimap/fetchjob.cpp
@@ -489,7 +489,7 @@ QByteArray FetchJobPrivate::parseString( const QByteArray &structure, int &pos )
continue;
}
if ( structure[pos] == '"' ) {
- result = structure.mid( start+1, pos - start );
+ result = structure.mid( start+1, pos - start - 1);
pos++;
break;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic