[Dovecot] Compile Error in current CVS

Todd Burroughs todd at hostopia.com
Wed Mar 30 02:44:09 EEST 2005


Had a small error with the current CVS version.  It was in deliver.c.

Here's a fix.  I'm assuming that adding NULL is correct ;-)

dovecot.2005-03-29/src # diff deliver/deliver.c.orig deliver/deliver.c
86c86
<       box = mailbox_open(storage, mailbox, MAILBOX_OPEN_FAST |
---
>       box = mailbox_open(storage, mailbox, NULL, MAILBOX_OPEN_FAST |



Here's the symptoms:
deliver.c: In function `save_mail':
deliver.c:87: warning: passing arg 3 of `mailbox_open' makes pointer from integer without a cast
deliver.c:87: error: too few arguments to function `mailbox_open'
make[3]: *** [deliver.o] Error 1
make[3]: Leaving directory `/services/src/9.2/dovecot/dovecot.2005-03-29/src/deliver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/services/src/9.2/dovecot/dovecot.2005-03-29/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/services/src/9.2/dovecot/dovecot.2005-03-29'
make: *** [all] Error 2






More information about the dovecot mailing list