From 228991b3170bd7a2e824706818544d93b9406559 Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Thu, 5 Jul 2001 09:38:59 +0000 Subject: (camel_message_info_dup_to): Assign the to->strings from the e_poolv_cpy() call, since it may allocaote a new poolv if the lengths do not match. svn path=/trunk/; revision=10790 --- camel/ChangeLog | 3 +++ camel/camel-folder-summary.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index e4434010ea..793c515d1b 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -11,6 +11,9 @@ words of its own. Things like maildir use this check to see if its already been processed, and it matters if it is incorrect in this case (not just wasted cycles). + (camel_message_info_dup_to): Assign the to->strings from the + e_poolv_cpy() call, since it may allocaote a new poolv if the + lengths do not match. (camel_folder_summary_info_new_from_parser): And same here. diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index bd085b4b3f..1dfdff9dd6 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -2352,7 +2352,7 @@ camel_message_info_dup_to(const CamelMessageInfo *from, CamelMessageInfo *to) /* Copy strings */ #ifdef DOEPOOLV - e_poolv_cpy (to->strings, from->strings); + to->strings = e_poolv_cpy (to->strings, from->strings); #elif defined (DOESTRV) /* to->strings = e_strv_new(CAMEL_MESSAGE_INFO_LAST); */ e_strv_set(to->strings, CAMEL_MESSAGE_INFO_SUBJECT, camel_message_info_subject(from)); -- cgit v1.2.3