diff options
author | Alexander Færøy <ahf@0x90.dk> | 2014-06-27 14:31:04 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2014-06-27 14:31:04 +0200 |
commit | b8c2915d79a1e0ccec92e627b716fe0a6af81fc6 (patch) | |
tree | 57f01b2716bd7ab4159eb68ac5fb9aec88a48d59 /src/perl/perl-core.c | |
parent | e4051eb42e7ab9965c9e523c443dca26326ef73a (diff) | |
parent | f58a461c54f2189543d64303e8c80bacda78448d (diff) | |
download | irssi-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.c | 2 |
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); |