diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-29 13:53:05 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-29 13:53:05 +0800 |
commit | 3629f67f594ac7d21a777f01317cf2cb95774588 (patch) | |
tree | f88a46367051d456222f95932945040cd8e54b31 /camel/camel-object.c | |
parent | 0fe0fa9aa2e887335dc28cdfec55226c5ad31755 (diff) | |
download | gsoc2013-evolution-3629f67f594ac7d21a777f01317cf2cb95774588.tar.gz gsoc2013-evolution-3629f67f594ac7d21a777f01317cf2cb95774588.tar.zst gsoc2013-evolution-3629f67f594ac7d21a777f01317cf2cb95774588.zip |
output scan->name and scan->value for writing metadata, rather than
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (cobject_state_write): output scan->name and
scan->value for writing metadata, rather than meta->name/value
which just duplicates the last entry, related to #53195.
svn path=/trunk/; revision=24510
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r-- | camel/camel-object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c index c8e14ac9e0..7ca9e84d8a 100644 --- a/camel/camel-object.c +++ b/camel/camel-object.c @@ -505,8 +505,8 @@ cobject_state_write(CamelObject *obj, FILE *fp) scan = meta; while (scan) { - if (camel_file_util_encode_string(fp, meta->name) == -1 - || camel_file_util_encode_string(fp, meta->value) == -1) + if (camel_file_util_encode_string(fp, scan->name) == -1 + || camel_file_util_encode_string(fp, scan->value) == -1) goto abort; scan = scan->next; } |