summaryrefslogtreecommitdiff
path: root/frm
diff options
context:
space:
mode:
authorAlain Magloire <alainm@gnu.org>2001-07-19 03:41:10 +0000
committerAlain Magloire <alainm@gnu.org>2001-07-19 03:41:10 +0000
commit100949f41e72aad0857f6f6849a906f594c8c6e3 (patch)
treec3c91d4d1442fae3c52ac9673bec25f644163df8 /frm
parentf5ead13998ec72cc5f83cc7f6f7ce09f7eff4262 (diff)
downloadmailutils-100949f41e72aad0857f6f6849a906f594c8c6e3.tar.gz
mailutils-100949f41e72aad0857f6f6849a906f594c8c6e3.tar.bz2
* mailbox/mbx_mbox.c (mbox_messages_count): This function does
not call the observers, the callback function, on the mbox_scan() does. * frm/frm.c (main): call mailbox_scan () instead of mailbox_messages_count () since we want to be notified.
Diffstat (limited to 'frm')
-rw-r--r--frm/frm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frm/frm.c b/frm/frm.c
index 9a8f1e98d..4f3a53956 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -339,7 +339,7 @@ main(int argc, char **argv)
observable_attach (observable, MU_EVT_MESSAGE_ADD, observer);
}
- mailbox_messages_count (mbox, &total);
+ mailbox_scan (mbox, 1, &total);
if (! be_quiet)
{

Return to:

Send suggestions and report system problems to the System administrator.