diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-10 23:12:29 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-10 23:12:29 +0000 |
commit | cfd0369c40b647df9444518ec26b924a57e14ac8 (patch) | |
tree | 688266bb3bff13d1164c071a95ed34e1cd649038 /taint.c | |
parent | 349d4f2f3d114fbec6897c6007862eb07a409a2d (diff) | |
download | perl-cfd0369c40b647df9444518ec26b924a57e14ac8.tar.gz |
More SvPV consting. And other related drive-by refactoring.
p4raw-id: //depot/perl@24800
Diffstat (limited to 'taint.c')
-rw-r--r-- | taint.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ Perl_taint_env(pTHX) if (svp && *svp && SvTAINTED(*svp)) { STRLEN len; const bool was_tainted = PL_tainted; - const char *t = SvPV(*svp, len); + const char *t = SvPV_const(*svp, len); const char *e = t + len; PL_tainted = was_tainted; if (t < e && isALNUM(*t)) |