|
From: Lars T. <ls...@gm...> - 2006-05-19 09:47:43
|
Hello Sunil,
sorry for the late answer...
Sunil Shetye wrote:
> with "keep" and "idle" options
> Mails New mails Enter IDLE mode Enter IDLE mode
> before patch? after patch?
> ---------------------------------------------------------------
> 0 0 Yes Yes
> >= 1 0 No No
> >= 1 >= 1 No Yes
Thanks for the patch, it worked exactly as described!
> Please try this patch and report. Note that this patch has to be
> applied after the patch by Matthias Andree.
So did I, but 1 Hunk failed for me:
---------------------------------------------------------------------
patching file driver.c
Hunk #1 succeeded at 1458 (offset -3 lines).
patching file imap.c
Hunk #5 succeeded at 687 (offset 2 lines).
Hunk #6 succeeded at 699 (offset 2 lines).
Hunk #7 succeeded at 714 (offset 2 lines).
Hunk #8 FAILED at 723.
Hunk #9 succeeded at 779 (offset 2 lines).
1 out of 9 hunks FAILED -- saving rejects to file imap.c.rej
imap.c.rej:
***************
*** 719,725 ****
}
else
{
- count = 0;
ok = gen_transact(sock,
check_only ? "EXAMINE \"%s\"" : "SELECT \"%s\"",
folder ? folder : "INBOX");
--- 723,729 ----
}
else
{
+ oldcount = count = 0;
ok = gen_transact(sock,
check_only ? "EXAMINE \"%s\"" : "SELECT \"%s\"",
folder ? folder : "INBOX");
---------------------------------------------------------------------
I added it manually - this shouldn't be a problem though.
Nice one - thanks again to both of you!
Best regards,
Lars
|