Fixed missing space in STATUS command + parse error in 'status_info'.
This commit is contained in:
parent
3ba18e1a5f
commit
13da0727c5
@ -2,6 +2,11 @@
|
|||||||
VERSION 0.7.1cvs
|
VERSION 0.7.1cvs
|
||||||
================
|
================
|
||||||
|
|
||||||
|
2005-05-03 Vincent Richard <vincent@vincent-richard.net>
|
||||||
|
|
||||||
|
* messaging/imap/IMAPFolder.cpp: fixed missing space in "STATUS" command +
|
||||||
|
parsing error in 'status_info'.
|
||||||
|
|
||||||
2005-04-30 Vincent Richard <vincent@vincent-richard.net>
|
2005-04-30 Vincent Richard <vincent@vincent-richard.net>
|
||||||
|
|
||||||
* utility/childProcess.{hpp|cpp}: added a 'childProcess' class to help
|
* utility/childProcess.{hpp|cpp}: added a 'childProcess' class to help
|
||||||
|
@ -1461,7 +1461,7 @@ void IMAPFolder::status(int& count, int& unseen)
|
|||||||
command << "STATUS ";
|
command << "STATUS ";
|
||||||
command << IMAPUtils::quoteString(IMAPUtils::pathToString
|
command << IMAPUtils::quoteString(IMAPUtils::pathToString
|
||||||
(m_connection->hierarchySeparator(), getFullPath()));
|
(m_connection->hierarchySeparator(), getFullPath()));
|
||||||
command << "(MESSAGES UNSEEN)";
|
command << " (MESSAGES UNSEEN)";
|
||||||
|
|
||||||
// Send the request
|
// Send the request
|
||||||
m_store->m_connection->send(true, command.str(), true);
|
m_store->m_connection->send(true, command.str(), true);
|
||||||
|
@ -4344,7 +4344,10 @@ public:
|
|||||||
m_status_info_list.push_back(parser.get <status_info>(line, &pos));
|
m_status_info_list.push_back(parser.get <status_info>(line, &pos));
|
||||||
|
|
||||||
while (!parser.check <one_char <')'> >(line, &pos, true))
|
while (!parser.check <one_char <')'> >(line, &pos, true))
|
||||||
|
{
|
||||||
|
parser.check <SPACE>(line, &pos);
|
||||||
m_status_info_list.push_back(parser.get <status_info>(line, &pos));
|
m_status_info_list.push_back(parser.get <status_info>(line, &pos));
|
||||||
|
}
|
||||||
|
|
||||||
m_type = STATUS;
|
m_type = STATUS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user