changeset 12573:6813e76eb29e

lib-storage: Don't double-demimefy headers when DISPLAYFROM/DISPLAYTO sorting.
author Timo Sirainen <tss@iki.fi>
date Sat, 01 Jan 2011 13:27:16 +0200
parents b78e772cf1d2
children c1e71f579adc
files src/lib-storage/index/index-sort.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-sort.c	Thu Dec 30 13:45:11 2010 +0200
+++ b/src/lib-storage/index/index-sort.c	Sat Jan 01 13:27:16 2011 +0200
@@ -309,7 +309,7 @@
 	const char *str;
 	int ret;
 
-	if ((ret = mail_get_first_header_utf8(mail, header, &str)) <= 0) {
+	if ((ret = mail_get_first_header(mail, header, &str)) <= 0) {
 		*addr_r = NULL;
 		return ret;
 	}