From: Sunil S. <sh...@bo...> - 2006-03-02 08:11:55
|
Quoting from Matthias Andree's mail on Wed, Mar 01, 2006: > Sunil Shetye <sh...@bo...> writes: > > Well, I am still "NOOP"ing. There is a problem in the current code. > > What is happening is that gen_transact() is being followed by > > imap_ok(). Internally, gen_transact() calls gen_recv() which calls > > imap_ok(). So, imap_ok() is being called twice! The second call to > > imap_ok() is incorrect as there is actually no "tag" to compare. So, > > replacing imap_ok() by sleep() is the right thing to do. > > I wonder. This code is ESR's original > > ----- > r3829 | esr | 2003-07-22 04:32:07 +0200 (Di, 22 Jul 2003) | 2 lines > > Support faked IDLE. > ----- > > (straight from SVN) > > and has apparently never worked. The credit for this goes to Chris Boyle. Surprising that there is no mention in the logs and NEWS. <http://lists.ccil.org/pipermail/fetchmail-friends/2003-July/007705.html> <http://lists.ccil.org/pipermail/fetchmail-friends/2003-July/007713.html> [On a side note, I tried searching for this string "site:lists.ccil.org idle noop patch" on google and did not get the above links. The same string gave correct results on yahoo.] -- Sunil Shetye. |