summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
authorxXx-caillou-xXx2018-08-30 14:43:58 +0200
committerjvoisin2018-08-30 12:43:58 +0000
commitf61a4772bfc33e08e7b06250e2f0f640bcae875f (patch)
tree2c26573cdd6ffa9eed1a46291660d82611154eb0 /src/sp_utils.c
parentdcc64e0f1530fbe5d528873977199ceeb715305d (diff)
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.
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c2
1 files changed, 1 insertions, 1 deletions
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) {
151 return copy; 151 return copy;
152} 152}
153 153
154const zend_string* sp_zval_to_zend_string(zval* zv) { 154const zend_string* sp_zval_to_zend_string(const zval* zv) {
155 switch (Z_TYPE_P(zv)) { 155 switch (Z_TYPE_P(zv)) {
156 case IS_LONG: { 156 case IS_LONG: {
157 char* msg; 157 char* msg;