Fix possible crash.
This commit is contained in:
parent
73fc635b3d
commit
ee3a1ebebf
@ -112,6 +112,9 @@ POP3Protocol::Connect()
|
||||
status_t
|
||||
POP3Protocol::Disconnect()
|
||||
{
|
||||
if (fServerConnection == NULL)
|
||||
return B_OK;
|
||||
|
||||
SendCommand("QUIT" CRLF);
|
||||
|
||||
fServerConnection->Disconnect();
|
||||
|
Loading…
Reference in New Issue
Block a user