evolution-data-server r8669 - trunk/camel



Author: mcrha
Date: Tue Apr 22 12:35:39 2008
New Revision: 8669
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8669&view=rev

Log:
2008-04-22  Milan Crha  <mcrha redhat com>

	** Fix for bug #529339

	* camel-folder-summary.c: (camel_system_flag):
	Do not access NULL pointer, aka recognize sentinel properly.



Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-folder-summary.c

Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c	(original)
+++ trunk/camel/camel-folder-summary.c	Tue Apr 22 12:35:39 2008
@@ -2713,7 +2713,7 @@
 
 	g_return_val_if_fail (name != NULL, 0);
 
-	for (flag = flag_names; *flag->name; flag++)
+	for (flag = flag_names; flag->name; flag++)
 		if (!g_ascii_strcasecmp (name, flag->name))
 			return flag->value;
 



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