diff options
Diffstat (limited to 'mg.h')
-rw-r--r-- | mg.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,6 +36,6 @@ struct magic { #define MgTAINTEDDIR_on(mg) (mg->mg_flags |= MGf_TAINTEDDIR) #define MgTAINTEDDIR_off(mg) (mg->mg_flags &= ~MGf_TAINTEDDIR) -#define MgPV(mg) ((mg)->mg_len == HEf_SVKEY) ? \ - SvPV((SV*)((mg)->mg_ptr),na) : \ - (mg)->mg_ptr +#define MgPV(mg,lp) (((lp = (mg)->mg_len) == HEf_SVKEY) ? \ + SvPV((SV*)((mg)->mg_ptr),lp) : \ + (mg)->mg_ptr) |