From ffa73cbd5ca9dc306086deba95538d6dee89ec6e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 4 Jan 2002 22:20:29 +0000 Subject: Don't try setting a content-type parameter if either the name or value is 2001-12-12 Jeffrey Stedfast * camel-folder-summary.c (content_info_load): Don't try setting a content-type parameter if either the name or value is NULL. * camel-mime-utils.c (header_set_param): NULL-protection. svn path=/trunk/; revision=15248 --- camel/camel-folder-summary.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'camel/camel-folder-summary.c') diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 9a97a0bb59..d2b3c9fba6 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -1768,11 +1768,14 @@ content_info_load(CamelFolderSummary *s, FILE *in) g_free(subtype); if (camel_file_util_decode_uint32(in, &count) == -1 || count > 500) goto error; - + for (i=0;i