aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-10 16:09:45 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-10 16:09:45 +0000
commitccf387bc861528d92e96017ea0263a59f6e94026 (patch)
tree3e632ef4b0a700b3ee5c7c1a24481093a9d6ad1b
parent7f56f14f3fc39871a1fa3340ea5ddab67327b9a1 (diff)
downloadperl-URPM-ccf387bc861528d92e96017ea0263a59f6e94026.tar
perl-URPM-ccf387bc861528d92e96017ea0263a59f6e94026.tar.gz
perl-URPM-ccf387bc861528d92e96017ea0263a59f6e94026.tar.bz2
perl-URPM-ccf387bc861528d92e96017ea0263a59f6e94026.tar.xz
perl-URPM-ccf387bc861528d92e96017ea0263a59f6e94026.zip
fixed SvPV typos.
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index d67cb79..f928db6 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2891,7 +2891,7 @@ Urpm_unsatisfied_requires2(urpm, db, state, pkg, ...)
char *s = SvPV(ST(i), len);
if (len == 4 && !memcmp(s, "name", 4)) {
- option_name = SvPV(ST(i+1));
+ option_name = SvPV_nolen(ST(i+1));
} else if (len == 14 && !memcmp(s, "nopromoteepoch", 14)) {
option_nopromoteepoch = SvIV(ST(i+1));
}