summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-07-07 13:30:27 +0000
committerNicholas Clark <nick@ccl4.org>2004-07-07 13:30:27 +0000
commit52d01cc22f218c2d828b1db06a67c612a02ebd47 (patch)
tree1653a1db10f69409534ff3aa6d590896b7a8db19 /hv.c
parent30799d55fe07dcf79e95d2823efbd5ec4c2e3bf4 (diff)
downloadperl-52d01cc22f218c2d828b1db06a67c612a02ebd47.tar.gz
hv_store was not passing hash onwards (spotted by Dave)
p4raw-id: //depot/perl@23061
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 54f2e542e2..502856ee71 100644
--- a/hv.c
+++ b/hv.c
@@ -218,7 +218,7 @@ Perl_hv_store(pTHX_ HV *hv, const char *key, I32 klen_i32, SV *val, U32 hash)
flags = 0;
}
hek = hv_fetch_common (hv, NULL, key, klen, flags,
- (HV_FETCH_ISSTORE|HV_FETCH_JUST_SV), val, 0);
+ (HV_FETCH_ISSTORE|HV_FETCH_JUST_SV), val, hash);
return hek ? &HeVAL(hek) : NULL;
}