Fixed POP3Store::sendPacket() for some servers.
This commit is contained in:
parent
e01fe854d5
commit
9bc3121e2d
@ -2,6 +2,12 @@
|
|||||||
VERSION 0.6.4cvs
|
VERSION 0.6.4cvs
|
||||||
================
|
================
|
||||||
|
|
||||||
|
2005-03-28 Vincent Richard <vincent@vincent-richard.net>
|
||||||
|
|
||||||
|
* messaging/POP3Store.cpp: fixed POP3Store::sendPacket() to send "\r\n"
|
||||||
|
in the same packet as the request. This caused problems with some
|
||||||
|
servers (thanks to Donald Dade).
|
||||||
|
|
||||||
2005-03-27 Stefan Uhrig <stefanuhrig@gmx.net>
|
2005-03-27 Stefan Uhrig <stefanuhrig@gmx.net>
|
||||||
|
|
||||||
* Added Windows platform handlers.
|
* Added Windows platform handlers.
|
||||||
|
@ -302,8 +302,10 @@ void POP3Store::stripResponseCode(const string& buffer, string& result)
|
|||||||
|
|
||||||
void POP3Store::sendRequest(const string& buffer, const bool end)
|
void POP3Store::sendRequest(const string& buffer, const bool end)
|
||||||
{
|
{
|
||||||
|
if (end)
|
||||||
|
m_socket->send(buffer + "\r\n");
|
||||||
|
else
|
||||||
m_socket->send(buffer);
|
m_socket->send(buffer);
|
||||||
if (end) m_socket->send("\r\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user