dovecot: Minor code cleanup

dovecot at dovecot.org dovecot at dovecot.org
Sat Sep 22 17:55:02 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/d2c37921f5f9
changeset: 6470:d2c37921f5f9
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Sep 22 17:54:58 2007 +0300
description:
Minor code cleanup

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/index-mailbox-check.c |    2 +-

diffs (12 lines):

diff -r 416973e853db -r d2c37921f5f9 src/lib-storage/index/index-mailbox-check.c
--- a/src/lib-storage/index/index-mailbox-check.c	Sat Sep 22 17:52:27 2007 +0300
+++ b/src/lib-storage/index/index-mailbox-check.c	Sat Sep 22 17:54:58 2007 +0300
@@ -56,7 +56,7 @@ static void notify_callback(struct index
 {
 	ibox->notify_last_check = ioloop_time;
 	/* don't notify more often than once a second */
-	if ((unsigned int)(ioloop_time - ibox->notify_last_sent) > 0) {
+	if (ioloop_time > ibox->notify_last_sent) {
 		ibox->notify_last_sent = ioloop_time;
                 ibox->notify_pending = FALSE;
 		ibox->box.notify_callback(&ibox->box, ibox->box.notify_context);


More information about the dovecot-cvs mailing list