]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
We want to test code in ck_entersub(), not hint
authorVincent Pit <vince@profvince.com>
Sat, 23 May 2009 22:28:59 +0000 (00:28 +0200)
committerVincent Pit <vince@profvince.com>
Sat, 23 May 2009 22:28:59 +0000 (00:28 +0200)
indirect.xs

index 4f1deb4d69937ce96ffd5e372f2866101bc94fc5..86675c854bb308199163930de6de3db224537390 100644 (file)
@@ -516,7 +516,7 @@ STATIC OP *indirect_ck_entersub(pTHX_ OP *o) {
   if (mpos < opos) {
    SV *code = indirect_detag(hint);
 
-   if (hint) {
+   if (code) {
     SV     *file;
     line_t  line;
     dSP;