aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r--camel/camel-object.c4
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;
}