diff options
author | Not Zed <NotZed@Ximian.com> | 2004-04-14 14:56:28 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-04-14 14:56:28 +0800 |
commit | 8bdc418acddf276242c2419dfeaa1c9d83262dd6 (patch) | |
tree | 9b5afbe3832e95921b4544aa77559219270ea409 /mail/em-format.c | |
parent | f429462f66d31fab7f1f16c7a94b05c41bc58ee7 (diff) | |
download | gsoc2013-evolution-8bdc418acddf276242c2419dfeaa1c9d83262dd6.tar.gz gsoc2013-evolution-8bdc418acddf276242c2419dfeaa1c9d83262dd6.tar.zst gsoc2013-evolution-8bdc418acddf276242c2419dfeaa1c9d83262dd6.zip |
hmm, use the right pointer when iterating the pending uri list.
2004-04-14 Not Zed <NotZed@Ximian.com>
* em-format.c (emf_multipart_related): hmm, use the right pointer
when iterating the pending uri list.
svn path=/trunk/; revision=25454
Diffstat (limited to 'mail/em-format.c')
-rw-r--r-- | mail/em-format.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/em-format.c b/mail/em-format.c index f9d2a19e33..1d67abbcc2 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -21,7 +21,6 @@ * */ - #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -1289,13 +1288,13 @@ emf_multipart_related(EMFormat *emf, CamelStream *stream, CamelMimePart *part, c puri = (EMFormatPURI *)ptree->uri_list.head; purin = puri->next; while (purin) { - if (purin->use_count == 0) { - d(printf("part '%s' '%s' used '%d'\n", purin->uri?purin->uri:"", purin->cid, purin->use_count)); - if (purin->func == emf_write_related) { + if (puri->use_count == 0) { + d(printf("part '%s' '%s' used '%d'\n", puri->uri?puri->uri:"", puri->cid, puri->use_count)); + if (puri->func == emf_write_related) { g_string_printf(emf->part_id, "%s", puri->part_id); em_format_part(emf, stream, puri->part); } else - printf("unreferenced uri generated by format code: %s\n", purin->uri?purin->uri:purin->cid); + printf("unreferenced uri generated by format code: %s\n", puri->uri?puri->uri:puri->cid); } puri = purin; purin = purin->next; |