diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-03-10 15:22:34 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-03-10 15:22:34 +0800 |
commit | 915a3762ef71526d6deddf95bf42a6d5bf5211f3 (patch) | |
tree | 3bc0405f6ab8bb40382108603e218f3b46b7cd98 | |
parent | a1d1f54b42be75cfbcf5b84b100a37be3db9057d (diff) | |
download | php-git-915a3762ef71526d6deddf95bf42a6d5bf5211f3.tar.gz |
Fixed typo (partially fix for #71753)
-rw-r--r-- | ext/standard/uuencode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/uuencode.c b/ext/standard/uuencode.c index 0a2b2b5b85..cd35c288ee 100644 --- a/ext/standard/uuencode.c +++ b/ext/standard/uuencode.c @@ -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; |