com php-src: RETVAL_STRINGL takes only two variables : ext/standard/type.c
| From: | Lior Kaplan | Date: | Tue, 22 Jul 2014 16:38:35 +0000 |
| Subject: | com php-src: RETVAL_STRINGL takes only two variables : ext/standard/type.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79553@lists.php.net to get a copy of this message | ||
Commit: 2334785f98a0a7270e07b4b66d21f6d0191e9bf5
Author: Lior Kaplan <kaplanlior@gmail.com> Tue, 22 Jul 2014 06:28:20 +0300
Parents: 1953438ca024dfce48a3dbae51cf642909fb9211
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2334785f98a0a7270e07b4b66d21f6d0191e9bf5
Log:
RETVAL_STRINGL takes only two variables
Follow up for commit f4cfaf36
Changed paths:
M ext/standard/type.c
Diff:
diff --git a/ext/standard/type.c b/ext/standard/type.c
index ab32246..d72a17d 100644
--- a/ext/standard/type.c
+++ b/ext/standard/type.c
@@ -66,7 +66,7 @@ PHP_FUNCTION(gettype)
res_len = sizeof("object of type ")-1 + Z_OBJCE_P(arg)->name_length;
spprintf(&result, 0, "object of type %s", Z_OBJCE_P(arg)->name);
- RETVAL_STRINGL(result, res_len, 0);
+ RETVAL_STRINGL(result, res_len);
}
*/
break;