a slightly confusing log message

Kjetil Torgrim Homme kjetilho at ifi.uio.no
Tue Jul 27 10:03:02 EDT 2004


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 :-)
-- 
Kjetil T.

---
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