aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-internet-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-internet-address.c')
-rw-r--r--camel/camel-internet-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-internet-address.c b/camel/camel-internet-address.c
index 5a72916ca9..c1ca4f8430 100644
--- a/camel/camel-internet-address.c
+++ b/camel/camel-internet-address.c
@@ -422,7 +422,7 @@ camel_internet_address_encode_address(int *inlen, const char *real, const char *
if (name && name[0]) {
if (strlen(name) + len > CAMEL_FOLD_SIZE) {
- char *folded = header_fold(name, len);
+ char *folded = header_address_fold(name, len);
char *last;
g_string_append(out, folded);
g_free(folded);