cvs: ZendEngine2 / zend_reflection_api.c

From: Date: Wed, 23 Jul 2003 04:02:26 +0000
Subject: cvs: ZendEngine2 / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1517@lists.php.net to get a copy of this message
sebastian Wed Jul 23 00:02:26 2003 EDT Modified files: /ZendEngine2 zend_reflection_api.c Log: Fix segfault. Patch by Timm Friebe <thekid@thekid.de>. Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.17 ZendEngine2/zend_reflection_api.c:1.18 --- ZendEngine2/zend_reflection_api.c:1.17 Sun Jul 20 16:16:07 2003 +++ ZendEngine2/zend_reflection_api.c Wed Jul 23 00:02:26 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.17 2003/07/20 20:16:07 gschlossnagle Exp $ */ +/* $Id: zend_reflection_api.c,v 1.18 2003/07/23 04:02:26 sebastian Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_default_classes.h" @@ -945,7 +945,7 @@ METHOD_NOTSTATIC; if (argc < 1) { - zend_error(E_WARNING, "First parameter is expected to be an instance of %s", mptr->common.scope->name); + zend_error(E_WARNING, "%s expects at least one parameter, none given", get_active_function_name(TSRMLS_C)); RETURN_FALSE; }

« previous php.zend-engine.cvs (#1517) next »