# HG changeset patch # User Timo Sirainen # Date 1293881236 -7200 # Node ID 6813e76eb29ed9158ea3b4301e3f415f84d6e853 # Parent b78e772cf1d215a91f9c03d91a5b5650daa3ca3a lib-storage: Don't double-demimefy headers when DISPLAYFROM/DISPLAYTO sorting. diff -r b78e772cf1d2 -r 6813e76eb29e src/lib-storage/index/index-sort.c --- 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; }