summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-10 01:45:03 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-10 01:45:03 +0000
commit9c0d12f1870cbb698224921504e0a8c942d1857c (patch)
tree28df8445ee2573412cba7b907647aceca528760b /hv.c
parent2a9e2f8aa1589e1927a7c3f765020dfe0e8bf29f (diff)
downloadperl-9c0d12f1870cbb698224921504e0a8c942d1857c.tar.gz
A thinko in #10065.
p4raw-id: //depot/perl@10067
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 817d54daf2..5df4dd882f 100644
--- a/hv.c
+++ b/hv.c
@@ -836,7 +836,7 @@ Perl_hv_exists(pTHX_ HV *hv, const char *key, I32 klen)
}
if (SvRMAGICAL(hv)) {
- if (mg_find((SV*)hv,'P') || SvGMAGICAL((SV*)gv)) {
+ if (mg_find((SV*)hv,'P') || SvGMAGICAL((SV*)hv)) {
sv = sv_newmortal();
mg_copy((SV*)hv, sv, key, klen);
magic_existspack(sv, mg_find(sv, 'p'));