com php-src: Passing a zend_string * to %s is a bad idea: sapi/phpdbg/phpdbg_list.c

From: Date: Wed, 24 Jun 2015 13:29:26 +0000
Subject: com php-src: Passing a zend_string * to %s is a bad idea: sapi/phpdbg/phpdbg_list.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87507@lists.php.net to get a copy of this message
Commit: ab90e55b9e0d427f17d173610502e29874291a3a Author: Bob Weinand <bobwei9@hotmail.com> Wed, 24 Jun 2015 15:29:26 +0200 Parents: 2424b349ad1bb77f921e3a808cf3ada4ad3a8fba Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ab90e55b9e0d427f17d173610502e29874291a3a Log: Passing a zend_string * to %s is a bad idea Changed paths: M sapi/phpdbg/phpdbg_list.c Diff: diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index c96d865..d38495b 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -181,7 +181,7 @@ void phpdbg_list_function(const zend_function *fbc) /* {{{ */ const zend_op_array *ops; if (fbc->type != ZEND_USER_FUNCTION) { - phpdbg_error("list", "type=\"internalfunction\" function=\"%s\"", "The function requested (%s) is not user defined", fbc->common.function_name); + phpdbg_error("list", "type=\"internalfunction\" function=\"%s\"", "The function requested (%s) is not user defined", fbc->common.function_name->val); return; }

« previous php.cvs (#87507) next »