summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-06-27 14:31:04 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-06-27 14:31:04 +0200
commitb8c2915d79a1e0ccec92e627b716fe0a6af81fc6 (patch)
tree57f01b2716bd7ab4159eb68ac5fb9aec88a48d59 /src/perl/perl-core.c
parente4051eb42e7ab9965c9e523c443dca26326ef73a (diff)
parentf58a461c54f2189543d64303e8c80bacda78448d (diff)
downloadirssi-b8c2915d79a1e0ccec92e627b716fe0a6af81fc6.zip
Merge pull request #59 from ailin-nemui/perl-pl-na
get rid of PL_na
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r--src/perl/perl-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index 26138510..3b00ce18 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -238,7 +238,7 @@ static int perl_script_eval(PERL_SCRIPT_REC *script)
error = NULL;
if (SvTRUE(ERRSV)) {
- error = SvPV(ERRSV, PL_na);
+ error = SvPV_nolen(ERRSV);
if (error != NULL) {
error = g_strdup(error);