X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fimap_utf7.c;h=aac0fef6a04e1fffe84e6ff6620a2b46ef867819;hb=11ce40d8d043155bc87a5f564c9064e06fc4f184;hp=dfa50a9e186e254e84ec89908b8bfd3dbb7e3f40;hpb=c5db348c5e29e93e51389fa0079f829967c5da82;p=exim.git diff --git a/src/src/imap_utf7.c b/src/src/imap_utf7.c index dfa50a9e1..aac0fef6a 100644 --- a/src/src/imap_utf7.c +++ b/src/src/imap_utf7.c @@ -1,4 +1,4 @@ -/* Copyright (c) University of Cambridge 2017 */ +/* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ #include "exim.h" @@ -14,7 +14,7 @@ static uschar encode_base64[64] = size_t slen; uschar *sptr; gstring * yield = NULL; -int i = 0, j; /* compiler quietening */ +int i = 0; /* compiler quietening */ uschar c = 0; /* compiler quietening */ BOOL base64mode = FALSE; BOOL lastsep = FALSE; @@ -106,7 +106,7 @@ while (slen > 0) i = 0; } - for (j = 0; j < 2; j++, s++) switch (i++) + for (int j = 0; j < 2; j++, s++) switch (i++) { case 0: /* Top 6 bits of the first octet */