From: Dan Kalowsky Date: Mon, 9 Sep 2002 21:01:33 +0000 (+0000) Subject: missed one section for #15630 X-Git-Tag: RELEASE_0_91~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1fe1e189c60899f824572127804a50bc9983f1d;p=php missed one section for #15630 --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 77acc9bfdf..00633b1c70 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2264,7 +2264,8 @@ PHP_FUNCTION(imap_utf7_encode) } else if (inp == endp || !SPECIAL(*inp)) { /* flush overflow and terminate region */ if (state != ST_ENCODE0) { - *outp++ = B64(*outp); + c = B64(*outp); + *outp++ = c; } *outp++ = '-'; state = ST_NORMAL;