From f61a4772bfc33e08e7b06250e2f0f640bcae875f Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Thu, 30 Aug 2018 14:43:58 +0200 Subject: Match on ret improvements This commit does two things: - Implement matching on calltraces for ret - Implement matching on ret of user functions if the return value is not used. --- src/sp_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index 41d817e..e872abd 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -151,7 +151,7 @@ static char* zend_string_to_char(const zend_string* zs) { return copy; } -const zend_string* sp_zval_to_zend_string(zval* zv) { +const zend_string* sp_zval_to_zend_string(const zval* zv) { switch (Z_TYPE_P(zv)) { case IS_LONG: { char* msg; -- cgit v1.3