diff options
Diffstat (limited to 'ext/standard/uuencode.c')
-rw-r--r-- | ext/standard/uuencode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/uuencode.c b/ext/standard/uuencode.c index 0a25b770f6..6e6fddad44 100644 --- a/ext/standard/uuencode.c +++ b/ext/standard/uuencode.c @@ -158,7 +158,7 @@ PHPAPI zend_string *php_uudecode(char *src, size_t src_len) /* {{{ */ while (s < ee) { if(s+4 > e) { goto err; - } + } *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2; *p++ = PHP_UU_DEC(*(s + 2)) << 6 | PHP_UU_DEC(*(s + 3)); @@ -196,7 +196,7 @@ err: } /* }}} */ -/* {{{ proto string convert_uuencode(string data) +/* {{{ proto string convert_uuencode(string data) uuencode a string */ PHP_FUNCTION(convert_uuencode) { |