summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imapparser.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-18 23:43:22 +0000
commitbd4d40e62f0ade42fbc594c1c87dfc93dfab8c99 (patch)
tree0846110ee822a57b2b7d9f08422282b03f0504b5 /kioslaves/imap4/imapparser.cc
parent3bbd9f8c37af59661292e14ec82088ffb09195e2 (diff)
downloadtdepim-bd4d40e62f0ade42fbc594c1c87dfc93dfab8c99.tar.gz
tdepim-bd4d40e62f0ade42fbc594c1c87dfc93dfab8c99.zip
Fix a number of strings in Trinity that were incorrectly converted to TQ* from Q*
This fixes the Kopete MSN protocol among other things git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslaves/imap4/imapparser.cc')
-rw-r--r--kioslaves/imap4/imapparser.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslaves/imap4/imapparser.cc b/kioslaves/imap4/imapparser.cc
index 3e16e262d..4b8086ffc 100644
--- a/kioslaves/imap4/imapparser.cc
+++ b/kioslaves/imap4/imapparser.cc
@@ -458,11 +458,11 @@ imapParser::parseUntagged (parseString & result)
}
break;
case 'Q': // TQUOTA or TQUOTAROOT
- if ( what.size() > 5 && tqstrncmp(what, "TQUOTAROOT", what.size()) == 0)
+ if ( what.size() > 5 && tqstrncmp(what, "QUOTAROOT", what.size()) == 0)
{
parseQuotaRoot( result );
}
- else if (tqstrncmp(what, "TQUOTA", what.size()) == 0)
+ else if (tqstrncmp(what, "QUOTA", what.size()) == 0)
{
parseQuota( result );
}
@@ -752,7 +752,7 @@ void imapParser::parseAnnotation (parseString & result)
void imapParser::parseQuota (parseString & result)
{
- // quota_response ::= "TQUOTA" SP astring SP quota_list
+ // quota_response ::= "QUOTA" SP astring SP quota_list
// quota_list ::= "(" #quota_resource ")"
// quota_resource ::= atom SP number SP number
TQCString root = parseOneWordC( result );
@@ -777,7 +777,7 @@ void imapParser::parseQuota (parseString & result)
void imapParser::parseQuotaRoot (parseString & result)
{
// quotaroot_response
- // ::= "TQUOTAROOT" SP astring *(SP astring)
+ // ::= "QUOTAROOT" SP astring *(SP astring)
parseOneWordC (result); // skip mailbox name
skipWS (result);
if ( result.isEmpty() )