diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2001-07-05 17:38:59 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-07-05 17:38:59 +0800 |
commit | 228991b3170bd7a2e824706818544d93b9406559 (patch) | |
tree | 771bf15bb039a4b419e8fcc3165f549418c410c6 /camel | |
parent | dcb01da05a7b087d186cdb6293142e63a42809fa (diff) | |
download | gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.tar gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.tar.gz gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.tar.bz2 gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.tar.lz gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.tar.xz gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.tar.zst gsoc2013-evolution-228991b3170bd7a2e824706818544d93b9406559.zip |
(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
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/camel-folder-summary.c | 2 |
2 files changed, 4 insertions, 1 deletions
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)); |