evolution-data-server r8928 - branches/camel-db-summary/camel



Author: sragavan
Date: Thu Jun  5 08:34:20 2008
New Revision: 8928
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8928&view=rev

Log:
fix compilter warning.


Modified:
   branches/camel-db-summary/camel/camel-folder-summary.c

Modified: branches/camel-db-summary/camel/camel-folder-summary.c
==============================================================================
--- branches/camel-db-summary/camel/camel-folder-summary.c	(original)
+++ branches/camel-db-summary/camel/camel-folder-summary.c	Thu Jun  5 08:34:20 2008
@@ -1602,8 +1602,8 @@
 		return ;
 
 	/* This could be slower, but no otherway really. FIXME: Callers have to effective and shouldn't call it recursively. */
-	for (i=0; i<s->uids->len) {
-		if (strcmp(s->uids->pdata[i], uid == 0)) {
+	for (i=0; i<s->uids->len; i++) {
+		if (strcmp(s->uids->pdata[i], uid) == 0) {
 			/* FIXME: Does using fast remove affect anything ? */
 			g_ptr_array_remove_index(s->messages, i);
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]