diff options
Diffstat (limited to 'src/perl/common/Expando.xs')
-rw-r--r-- | src/perl/common/Expando.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/common/Expando.xs b/src/perl/common/Expando.xs index e1dd89ab..375a4c2f 100644 --- a/src/perl/common/Expando.xs +++ b/src/perl/common/Expando.xs @@ -78,7 +78,7 @@ static char *perl_expando_event(PerlExpando *rec, SERVER_REC *server, if (rec->script != NULL) script_unregister_expandos(rec->script); - signal_emit("script error", 2, rec->script, SvPV(ERRSV, PL_na)); + signal_emit("script error", 2, rec->script, SvPV_nolen(ERRSV)); } else if (retcount > 0) { ret = g_strdup(POPp); *free_ret = TRUE; @@ -118,7 +118,7 @@ static void expando_signals_add_hash(const char *key, SV *signals) hv_iterinit(hv); while ((he = hv_iternext(hv)) != NULL) { SV *argsv = HeVAL(he); - argstr = SvPV(argsv, PL_na); + argstr = SvPV_nolen(argsv); if (g_ascii_strcasecmp(argstr, "none") == 0) arg = EXPANDO_ARG_NONE; |