evolution-data-server r8356 - trunk/camel
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8356 - trunk/camel
- Date: Sat, 12 Jan 2008 07:42:35 +0000 (GMT)
Author: sragavan
Date: Sat Jan 12 07:42:34 2008
New Revision: 8356
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8356&view=rev
Log:
2008-01-12 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #379896
* camel-mime-utils.c: (camel_header_param): Check the value for NULL
before comparing.
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-mime-utils.c
Modified: trunk/camel/camel-mime-utils.c
==============================================================================
--- trunk/camel/camel-mime-utils.c (original)
+++ trunk/camel/camel-mime-utils.c Sat Jan 12 07:42:34 2008
@@ -2138,7 +2138,7 @@
char *
camel_header_param (struct _camel_header_param *p, const char *name)
{
- while (p && g_ascii_strcasecmp (p->name, name) != 0)
+ while (p && p->name && g_ascii_strcasecmp (p->name, name) != 0)
p = p->next;
if (p)
return p->value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]