1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

RFC 3501 only requires + for IMAP continuation.

This commit is contained in:
Brenden Matthews 2011-10-25 15:57:45 -07:00 committed by Pavel Labath
parent e9a5b23711
commit b3e706aefd

View File

@ -786,7 +786,7 @@ void imap_cb::work()
std::ostringstream str;
str << "a1 login " << get<MP_USER>() << " {" << get<MP_PASS>().length() << "}\r\n";
command(sockfd, str.str(), recvbuf, "+ OK");
command(sockfd, str.str(), recvbuf, "+");
command(sockfd, get<MP_PASS>() + "\r\n", recvbuf, "a1 OK");