Make sure we disconnect on pop completion, or thunderbird causes "Mailbox

Locked" messages.


SVN revision: 23264
This commit is contained in:
Christopher Michael 2006-06-07 22:34:08 +00:00
parent 1344a1c1dd
commit 96848c5213
1 changed files with 3 additions and 0 deletions

View File

@ -627,6 +627,9 @@ _mail_parse_pop(void *data, void *data2)
if (sscanf(in, "+OK %i %i", &num, &size) == 2)
{
_mail_set_text(inst, num, num);
inst->state = STATE_DISCONNECTED;
ecore_con_server_del(inst->server);
inst->server = NULL;
if ((ci->use_exec) && (ci->exec != NULL))
{
if (num <= 0) break;