a slightly confusing log message

Rob Siemborski rjs3 at andrew.cmu.edu
Tue Jul 27 12:19:55 EDT 2004


On Tue, 27 Jul 2004, Kjetil Torgrim Homme wrote:

> after a fresh install compiled --with-idled I found this message in my
> syslog:
>
>        idled[29245]: construct_hash_table called without a size
>        idled[29245]: exiting
>
> the reason for this is trivial, it counts the number of mailboxes, and
> passes that on as the size.  at this point, I had zero mailboxes :-)
> I suggest this pseudo-patch for imap/idled.c:
>
>      /* create idle table */
> -     construct_hash_table(&itable, nmbox, 1);
> +     construct_hash_table(&itable, nmbox + 1, 1);
>      ifreelist = NULL;
>
> simply to avoid false alarm :-)

Committed and Credited.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list