Displaying 1 result from an estimated 1 matches for "mail_index_set_warning".
2009 Mar 24
1
Making changes to dovecot log levels
...r.
I wanted to run a few changes by you for this, just to make sure these
won't cause problems somewhere else. And to send this to the list, in
case anyone else wants to make similar changes in the future.
In the file src/lib-index/mail-index.c:
duplicate the function mail_index_set_error to
mail_index_set_warning and call this function in
/src/lib-index/mail_cache.c instead
int mail_index_set_error(struct mail_index *index, const char *fmt, ...)
{
va_list va;
i_free(index->error);
if (fmt == NULL)
index->error = NULL;
else {
va_start(...