Mercurial > dovecot > core-2.2
diff 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 |
line wrap: on
line diff
--- a/src/lib-storage/index/index-sort.c Fri Sep 14 23:11:27 2012 +0300 +++ b/src/lib-storage/index/index-sort.c Sat Sep 15 03:09:57 2012 +0300 @@ -443,7 +443,7 @@ i_unreached(); } - (void)uni_utf8_to_decomposed_titlecase(str, (size_t)-1, dest); + (void)uni_utf8_to_decomposed_titlecase(str, strlen(str), dest); return ret; }