summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2003-11-22 23:37:24 +0000
committerNicholas Clark <nick@ccl4.org>2003-11-22 23:37:24 +0000
commit7fd3d16ee33a2f80699a3491d0bedc18c17ccd80 (patch)
tree0bdf3346a8c7aae485b439d030cf9a6fb7fa1fe4 /hv.c
parentf97011767e2b1f2e51edcb85858dc587e7499126 (diff)
downloadperl-7fd3d16ee33a2f80699a3491d0bedc18c17ccd80.tar.gz
D'oh. Mistake in the DYNAMIC_ENV_FETCH conditional code
reported by Craig Berry p4raw-id: //depot/perl@21779
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index 8ed7f03a7c..29a2cd5fe6 100644
--- a/hv.c
+++ b/hv.c
@@ -689,7 +689,7 @@ S_hv_fetch_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
if (env) {
sv = newSVpvn(env,len);
SvTAINTED_on(sv);
- return hv_fetch_common(hv,keysv,key,keylen,HV_FETCH_ISSTORE,sv,
+ return hv_fetch_common(hv,keysv,key,klen,flags,HV_FETCH_ISSTORE,sv,
hash);
}
}