Parent Directory
|
Revision Log
|
Patch
| revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC | revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC | |
|---|---|---|
| # | Line 79 for (p = string; length-- > 0; p++) | Line 79 for (p = string; length-- > 0; p++) |
| 79 | register int ab; | register int ab; |
| 80 | register int c = *p; | register int c = *p; |
| 81 | if (c < 128) continue; | if (c < 128) continue; |
| 82 | if ((c & 0xc0) != 0xc0) return p - string; | if (c < 0xc0) return p - string; |
| 83 | ab = _pcre_utf8_table4[c & 0x3f]; /* Number of additional bytes */ | ab = _pcre_utf8_table4[c & 0x3f]; /* Number of additional bytes */ |
| 84 | if (length < ab) return p - string; | if (length < ab) return p - string; |
| 85 | length -= ab; | length -= ab; |
|
||||||||
| webmaster@exim.org | ViewVC Help |
| Powered by ViewVC 1.1.12 |