evolution-data-server r9941 - trunk/camel/providers/groupwise



Author: psankar
Date: Fri Jan 16 07:01:51 2009
New Revision: 9941
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9941&view=rev

Log:
2009-01-16  Sankar P  <psankar novell com>

	** Patch committed on behalf of Simon Brys <sbrys novell com>

	** Fix for bnc bug #463095

	* camel-groupwise-summary.c (content_info_from_db):
	Fix cinfo parsing logic

Modified:
   trunk/camel/providers/groupwise/ChangeLog
   trunk/camel/providers/groupwise/camel-groupwise-summary.c

Modified: trunk/camel/providers/groupwise/camel-groupwise-summary.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-summary.c	(original)
+++ trunk/camel/providers/groupwise/camel-groupwise-summary.c	Fri Jan 16 07:01:51 2009
@@ -319,8 +319,13 @@
 	guint32 type=0;
 	
 	if (part) {
-		EXTRACT_FIRST_DIGIT (type);
+		if (*part == ' ')
+			part++;
+		if (part) {
+			EXTRACT_FIRST_DIGIT (type);
+		}
 	}
+	mir->cinfo = part;
 	if (type)
 		return camel_groupwise_summary_parent->content_info_from_db (s, mir);
 	else



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