From 49e82f8b9fb67aba12f536c6ea29a640b7a10104 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 5 Apr 2002 00:08:23 +0000 Subject: Simplified since we can now decode in-reply-to without getting extra 2002-04-04 Jeffrey Stedfast * camel-folder-summary.c (message_info_new): Simplified since we can now decode in-reply-to without getting extra cruft. Get rid of the FIXME about having to check scan->id because of the possibility of it being NULL, this can no longer happen. * camel-mime-utils.c (header_references_inreplyto_decode): New function to decode in-reply-to headers. Only grabs the first thing that looks like a message-id and then returns. (header_references_decode): Loop calling header_references_decode_single (a new internal function). svn path=/trunk/; revision=16361 --- camel/camel-mime-utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'camel/camel-mime-utils.h') diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h index 8936012cbd..2c29f5cc43 100644 --- a/camel/camel-mime-utils.h +++ b/camel/camel-mime-utils.h @@ -188,7 +188,8 @@ char *header_msgid_decode (const char *in); /* generate msg id */ char *header_msgid_generate (void); -/* decode a References header */ +/* decode a References or In-Reply-To header */ +struct _header_references *header_references_inreplyto_decode (const char *in); struct _header_references *header_references_decode(const char *in); void header_references_list_clear(struct _header_references **list); void header_references_list_append_asis(struct _header_references **list, char *ref); -- cgit v1.2.3