[evolution-data-server] CamelIMAPXSummary: Fix comparison typo.



commit e738d967da8bdaf00c0767197aba85f866a0f7d4
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Aug 30 13:00:08 2012 -0400

    CamelIMAPXSummary: Fix comparison typo.

 camel/camel-imapx-summary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-imapx-summary.c b/camel/camel-imapx-summary.c
index ee2530d..3cbac21 100644
--- a/camel/camel-imapx-summary.c
+++ b/camel/camel-imapx-summary.c
@@ -119,7 +119,7 @@ sort_uid_cmp (gpointer enc,
 	a1 = strtoul (sa1, NULL, 10);
 	a2 = strtoul (sa2, NULL, 10);
 
-	return (a1 < a1) ? -1 : (a1 > a2) ? 1 : 0;
+	return (a1 < a2) ? -1 : (a1 > a2) ? 1 : 0;
 }
 
 /**



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