X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Futf8.c;h=dec72280fb17ea9c0253fcefaace12a405a47f55;hb=2d5bf0979718f106016157dff7c6e7cdb01ac2b4;hp=cf010283b030e00b02f2cb1d224fc5f4c58f0a28;hpb=c5db348c5e29e93e51389fa0079f829967c5da82;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/utf8.c b/src/src/utf8.c index cf010283b..dec72280f 100644 --- a/src/src/utf8.c +++ b/src/src/utf8.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) Jeremy Harris 2015 - 2017 */ +/* Copyright (c) Jeremy Harris 2015 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -208,15 +208,13 @@ Return NULL on error, with (optional) errstring pointer filled in uschar * string_address_utf8_to_alabel(const uschar * utf8, uschar ** err) { -const uschar * s; -uschar * l; -uschar * d; +uschar * l, * d; if (!*utf8) return string_copy(utf8); DEBUG(D_expand) debug_printf("addr from utf8 <%s>", utf8); -for (s = utf8; *s; s++) +for (const uschar * s = utf8; *s; s++) if (*s == '@') { l = string_copyn(utf8, s - utf8);