This commit is contained in:
Arnaud Le Blanc 2008-11-26 02:43:16 +00:00
parent 5b4a154a59
commit a05edaf2bd

View File

@ -527,6 +527,10 @@ inline static unsigned short get_next_char(enum entity_charset charset,
do {
if (this_char < 0x80) {
more = 0;
if(stat) {
/* we didn't finish the UTF sequence correctly */
*status = FAILURE;
}
break;
} else if (this_char < 0xc0) {
switch (stat) {