aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-file-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-file-utils.c')
-rw-r--r--camel/camel-file-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-file-utils.c b/camel/camel-file-utils.c
index 0b909f3e82..33f599d463 100644
--- a/camel/camel-file-utils.c
+++ b/camel/camel-file-utils.c
@@ -248,7 +248,7 @@ camel_file_util_encode_string (FILE *out, const char *str)
register int len;
if (str == NULL)
- return camel_file_util_encode_uint32 (out, 0);
+ return camel_file_util_encode_uint32 (out, 1);
len = strlen (str);
if (camel_file_util_encode_uint32 (out, len+1) == -1)