evolution-data-server r9940 - branches/gnome-2-24/camel/providers/groupwise



Author: psankar
Date: Fri Jan 16 07:00:22 2009
New Revision: 9940
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9940&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:
   branches/gnome-2-24/camel/providers/groupwise/ChangeLog
   branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-summary.c

Modified: branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-summary.c
==============================================================================
--- branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-summary.c	(original)
+++ branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-summary.c	Fri Jan 16 07:00:22 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]