[dovecot-cvs] dovecot/src/lib seq-range-array.c,1.4,1.5

cras at dovecot.org cras at dovecot.org
Thu Apr 20 19:02:39 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv8025

Modified Files:
	seq-range-array.c 
Log Message:
Fix for seq_range_array_remove()



Index: seq-range-array.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/seq-range-array.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- seq-range-array.c	12 Apr 2006 16:57:09 -0000	1.4
+++ seq-range-array.c	20 Apr 2006 16:02:37 -0000	1.5
@@ -167,7 +167,7 @@
 				value.seq2 = data[idx].seq2;
 				data[idx].seq2 = seq - 1;
 
-				array_insert(array, idx, &value, 1);
+				array_insert(array, idx + 1, &value, 1);
 			}
 			break;
 		}



More information about the dovecot-cvs mailing list