X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ferror.c;fp=src%2Ferror.c;h=486867bbfb1364338522a9dae218598b077c5c59;hp=c92b847e3530859083ce001bcb6f24237de36db0;hb=2fa436074ca9a5e87f39b696de832fa2188fcfc6;hpb=d57dd73ddbd960613cfc06bc4c9473b71d3598ef diff --git a/src/error.c b/src/error.c index c92b847..486867b 100644 --- a/src/error.c +++ b/src/error.c @@ -57,7 +57,7 @@ void psi_error_wrapper(struct psi_data *context, struct psi_token *t, int type, } if (t) { - fn = t->file; + fn = t->file->val; ln = t->line; } else if (zend_is_executing()) { fn = zend_get_executed_filename();