dovecot-2.2: auth: Minor code cleanup

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 10 05:24:41 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/47ebcf37af3d
changeset: 14831:47ebcf37af3d
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 01 21:14:30 2012 +0300
description:
auth: Minor code cleanup

diffstat:

 src/auth/auth-cache.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8518f8b5a28b -r 47ebcf37af3d src/auth/auth-cache.c
--- a/src/auth/auth-cache.c	Wed Aug 01 20:37:05 2012 +0300
+++ b/src/auth/auth-cache.c	Wed Aug 01 21:14:30 2012 +0300
@@ -305,7 +305,7 @@
 	for (node = cache->tail; node != NULL; node = next) {
 		next = node->next;
 		if (auth_cache_node_is_one_of_users(node, usernames)) {
-			auth_cache_node_destroy(cache, cache->tail);
+			auth_cache_node_destroy(cache, node);
 			ret++;
 		}
 	}


More information about the dovecot-cvs mailing list