Mercurial > dovecot > core-2.2
comparison src/lib-storage/index/index-sort.c @ 15052:d5ebec837bfd
uni_utf8_to_decomposed_titlecase(): Require input length to be exact now.
Most of the callers did that already anyway
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 15 Sep 2012 03:09:57 +0300 |
parents | d0d7b810646b |
children | 90710c6c3beb |
comparison
equal
deleted
inserted
replaced
15051:9ad9a79c1747 | 15052:d5ebec837bfd |
---|---|
441 break; | 441 break; |
442 default: | 442 default: |
443 i_unreached(); | 443 i_unreached(); |
444 } | 444 } |
445 | 445 |
446 (void)uni_utf8_to_decomposed_titlecase(str, (size_t)-1, dest); | 446 (void)uni_utf8_to_decomposed_titlecase(str, strlen(str), dest); |
447 return ret; | 447 return ret; |
448 } | 448 } |
449 | 449 |
450 int index_sort_node_cmp_type(struct mail *mail, | 450 int index_sort_node_cmp_type(struct mail *mail, |
451 const enum mail_sort_type *sort_program, | 451 const enum mail_sort_type *sort_program, |