[dovecot-cvs] dovecot/src/plugins/trash trash-plugin.c,1.20,1.21

tss at dovecot.org tss at dovecot.org
Thu Feb 22 15:42:46 UTC 2007


Update of /var/lib/cvs/dovecot/src/plugins/trash
In directory talvi:/tmp/cvs-serv18035

Modified Files:
	trash-plugin.c 
Log Message:
Fixed priority handling.



Index: trash-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/trash/trash-plugin.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- trash-plugin.c	22 Feb 2007 15:38:43 -0000	1.20
+++ trash-plugin.c	22 Feb 2007 15:42:44 -0000	1.21
@@ -110,7 +110,7 @@
 		oldest_idx = count;
 		oldest = (time_t)-1;
 		for (j = i; j < count; j++) {
-			if (trashes[j].priority != trashes[j].priority)
+			if (trashes[j].priority != trashes[i].priority)
 				break;
 
 			if (trashes[j].storage == NULL) {



More information about the dovecot-cvs mailing list