[dovecot-cvs] dovecot/src/plugins/trash trash-plugin.c, 1.5.2.9, 1.5.2.10

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


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

Modified Files:
      Tag: branch_1_0
	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.5.2.9
retrieving revision 1.5.2.10
diff -u -d -r1.5.2.9 -r1.5.2.10
--- trash-plugin.c	22 Feb 2007 15:38:39 -0000	1.5.2.9
+++ trash-plugin.c	22 Feb 2007 15:42:41 -0000	1.5.2.10
@@ -122,7 +122,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