dovecot-sieve-1.1: Code cleanup
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 13 17:01:05 EEST 2007
details: http://hg.dovecot.org/dovecot-sieve-1.1/rev/8f6830cf7b75
changeset: 33:8f6830cf7b75
user: Timo Sirainen <tss at iki.fi>
date: Thu Aug 09 15:44:31 2007 +0300
description:
Code cleanup
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/libsieve/sieve.y | 4 ++--
diffs (14 lines):
diff -r 0d7f8f2dd9c4 -r 8f6830cf7b75 src/libsieve/sieve.y
--- a/src/libsieve/sieve.y Thu Aug 09 15:16:43 2007 +0300
+++ b/src/libsieve/sieve.y Thu Aug 09 15:44:31 2007 +0300
@@ -1218,8 +1218,8 @@ static int verify_regexs(stringlist_t *s
*/
static int verify_utf8(char *s)
{
- const unsigned char *buf = (const unsigned char *)s;
- const unsigned char *endbuf = buf + strlen(s);
+ const char *buf = s;
+ const char *endbuf = s + strlen(s);
unsigned char byte2mask = 0x00, c;
int trailing = 0; /* trailing (continuation) bytes to follow */
More information about the dovecot-cvs
mailing list