]> granicus.if.org Git - php/commitdiff
RETVAL_STRINGL takes only two variables
authorLior Kaplan <kaplanlior@gmail.com>
Tue, 22 Jul 2014 03:28:20 +0000 (06:28 +0300)
committerLior Kaplan <kaplanlior@gmail.com>
Tue, 22 Jul 2014 16:38:35 +0000 (19:38 +0300)
Follow up for commit f4cfaf36

ext/standard/type.c

index ab3224628cf6daccc0de85465144468d7d8fd143..d72a17dafc764710b7c4d831130040cfd0098171 100644 (file)
@@ -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;