Yes, another fix for new mail scan
This commit is contained in:
parent
963d696dfd
commit
08ccc8d0e9
@ -1902,7 +1902,9 @@ void mail_scan(struct user_record *user) {
|
|||||||
if (conf.mail_conferences[i]->mail_areas[j]->type == TYPE_NETMAIL_AREA) {
|
if (conf.mail_conferences[i]->mail_areas[j]->type == TYPE_NETMAIL_AREA) {
|
||||||
msghs = read_message_headers(i, j, user);
|
msghs = read_message_headers(i, j, user);
|
||||||
if (msghs != NULL) {
|
if (msghs != NULL) {
|
||||||
|
if (msghs->msg_count > 0) {
|
||||||
s_printf(" --> %d. %s (%d new)\r\n", j, conf.mail_conferences[i]->mail_areas[j]->name, msghs->msg_count);
|
s_printf(" --> %d. %s (%d new)\r\n", j, conf.mail_conferences[i]->mail_areas[j]->name, msghs->msg_count);
|
||||||
|
}
|
||||||
free_message_headers(msghs);
|
free_message_headers(msghs);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user