Fix linear alphabet string errors

pull/21/head
Timothy Pearson 13 years ago
parent bdfea250b7
commit 80bc593eb3

@ -1960,7 +1960,7 @@ Bugfixes
deleted without ever having been initialised. Also init some other vars ASAP. (700035)
- kolab/issue1712 Update revision when adding new attendees.(663228)
- kolab/issue1672 Make sure to open the folder when saving a single message as well.(664661)
- Fix lack of double-quotes around folder name, making GEQUOTAROOT fail on folders with a space in the
- Fix lack of double-quotes around folder name, making GETQUOTAROOT fail on folders with a space in the
name.(665276)
- Port the ability to add and remove subfolders from korganizer's resource view from proko2. (665274)
- kolab/issue1721 Don't exit when the popup menu is canceled.(665679)

@ -1718,7 +1718,7 @@ IMAP4Protocol::specialQuotaCommand( int command, TQDataStream& stream )
parseURL (_url, aBox, aSection, aLType, aSequence, aValidity, aDelimiter, aInfo);
switch( command ) {
case 'R': // GEQUOTAROOT
case 'R': // GETQUOTAROOT
{
kdDebug(7116) << "QUOTAROOT " << aBox << endl;
imapCommand *cmd = doCommand(imapCommand::clientGetQuotaroot( aBox ) );
@ -1734,15 +1734,15 @@ IMAP4Protocol::specialQuotaCommand( int command, TQDataStream& stream )
finished();
break;
}
case 'G': // GEQUOTA
case 'G': // GETQUOTA
{
kdDebug(7116) << "GEQUOTA command" << endl;
kdDebug(7116) << "GETQUOTA command" << endl;
kdWarning(7116) << "UNIMPLEMENTED" << endl;
break;
}
case 'S': // SEQUOTA
case 'S': // SETQUOTA
{
kdDebug(7116) << "SEQUOTA command" << endl;
kdDebug(7116) << "SETQUOTA command" << endl;
kdWarning(7116) << "UNIMPLEMENTED" << endl;
break;
}

@ -397,7 +397,7 @@ imapCommand *
imapCommand::clientGetQuotaroot( const TQString& box )
{
TQString parameter = TQString("\"") + rfcDecoder::toIMAP (box) + '"';
return new imapCommand ("GEQUOTAROOT", parameter);
return new imapCommand ("GETQUOTAROOT", parameter);
}
imapCommand *

@ -365,9 +365,9 @@ public:
static imapCommand *clientNamespace ();
/**
* @brief Create a GEQUOTAROOT command
* @brief Create a GETQUOTAROOT command
* @param box mailbox name
* @return a GEQUOTAROOT imapCommand
* @return a GETQUOTAROOT imapCommand
*/
static imapCommand *clientGetQuotaroot ( const TQString& box );

@ -128,8 +128,8 @@ imapParser::sendCommand (imapCommand * aCmd)
|| command == "MYRIGHTS"
|| command == "GETANNOTATION"
|| command == "NAMESPACE"
|| command == "GEQUOTAROOT"
|| command == "GEQUOTA"
|| command == "GETQUOTAROOT"
|| command == "GETQUOTA"
|| command == "X-GET-OTHER-USERS"
|| command == "X-GET-DELEGATES"
|| command == "X-GET-OUT-OF-OFFICE")

@ -37,7 +37,7 @@
// adapted to QT-Toolkit by Sven Carstens <s.carstens@gmx.de> 2000
static unsigned char base64chars[] =
"ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,";
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,";
#define UNDEFINED 64
#define MAXLINE 76

@ -337,7 +337,7 @@ TQCString encodeRFC2047String(const TQString &src, const char *charset,
TQCString uniqueString()
{
static char chars[] = "0123456789abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ";
static char chars[] = "0123456789abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
time_t now;
TQCString ret;
char p[11];

@ -353,7 +353,7 @@ static int to_cr(const char* srcBuf, size_t srcLen, char* destBuf,
}
static char base64tab[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZ"
static char base64tab[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz0123456789+/";
static char base64idx[128] = {

@ -231,7 +231,7 @@ void DwMediaType::SetBoundary(const DwString& aStr)
void DwMediaType::CreateBoundary(unsigned aLevel)
{
// Create a random printable string and set it as the boundary parameter
static const char c[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
static const char c[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
const int cLen = 64;
char buf[80];
strcpy(buf, "Boundary-");

Loading…
Cancel
Save