dovecot: Assert fix
dovecot at dovecot.org
dovecot at dovecot.org
Sun Nov 11 18:51:36 EET 2007
details: http://hg.dovecot.org/dovecot/rev/8b11c9f06bbf
changeset: 6780:8b11c9f06bbf
user: Timo Sirainen <tss at iki.fi>
date: Sun Nov 11 18:51:33 2007 +0200
description:
Assert fix
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/unichar.c | 2 +-
diffs (12 lines):
diff -r 8d6a70a42830 -r 8b11c9f06bbf src/lib/unichar.c
--- a/src/lib/unichar.c Sun Nov 11 18:36:43 2007 +0200
+++ b/src/lib/unichar.c Sun Nov 11 18:51:33 2007 +0200
@@ -125,7 +125,7 @@ void uni_ucs4_to_utf8_c(unichar_t chr, b
return;
}
- i_assert(chr <= 0x40000000); /* 1 << (5 * 6) */
+ i_assert(chr < 0x80000000); /* 1 << (5*6 + 1) */
if (chr < (1 << (6 + 5))) {
/* 110xxxxx */
More information about the dovecot-cvs
mailing list