From: Lior Kaplan Date: Tue, 22 Jul 2014 11:13:12 +0000 (+0300) Subject: ZVAL_STRINGL takes only three variables X-Git-Tag: POST_PHPNG_MERGE~47^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca273c31dd893f8f2520b82c7359dac8424cd67d;p=php ZVAL_STRINGL takes only three variables Follow up for commit f4cfaf36 --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index ed13bae12c..b0b23fe5d7 100755 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -4867,7 +4867,7 @@ PHP_FUNCTION(openssl_seal) zval_dtor(*ivec); if (ivlen) { iv[ivlen] = '\0'; - ZVAL_STRINGL(*ivec, erealloc(iv, ivlen + 1), ivlen, 0); + ZVAL_STRINGL(*ivec, erealloc(iv, ivlen + 1), ivlen); } else { ZVAL_EMPTY_STRING(*ivec); } diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c index ef3fe2969c..f5f97161f2 100644 --- a/ext/standard/scanf.c +++ b/ext/standard/scanf.c @@ -925,7 +925,7 @@ literal: __buf[1] = '\0';; current = args[objIndex++]; zval_dtor(*current); - ZVAL_STRINGL( *current, __buf, 1, 1); + ZVAL_STRINGL( *current, __buf, 1); } else { add_index_stringl(return_value, objIndex++, &sch, 1); }