Fixed typo (partially fix for #71753)

This commit is contained in:
Xinchen Hui 2016-03-10 15:22:34 +08:00
parent a1d1f54b42
commit 915a3762ef

View File

@ -168,7 +168,7 @@ PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */
s++;
}
if ((len = total_len > (p - *dest))) {
if ((len = total_len) > (p - *dest)) {
*p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4;
if (len > 1) {
*p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2;