dovecot-2.0: director: Minor code cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 21 19:00:01 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e5730fb45680
changeset: 11599:e5730fb45680
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 21 16:59:57 2010 +0100
description:
director: Minor code cleanup.

diffstat:

 src/director/user-directory.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d3dfe9c271bc -r e5730fb45680 src/director/user-directory.c
--- a/src/director/user-directory.c	Mon Jun 21 16:57:28 2010 +0100
+++ b/src/director/user-directory.c	Mon Jun 21 16:59:57 2010 +0100
@@ -52,7 +52,7 @@
 static void user_directory_drop_expired(struct user_directory *dir)
 {
 	while (dir->head != NULL &&
-	       ioloop_time > (time_t)(dir->head->timestamp + dir->timeout_secs))
+	       !user_directory_user_has_connections(dir, dir->head))
 		user_free(dir, dir->head);
 }
 


More information about the dovecot-cvs mailing list