summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index e844d5f3..5c10364a 100644
--- a/hash.c
+++ b/hash.c
@@ -626,7 +626,7 @@ val sethash(val hash, val key, val value)
{
val new_p;
rplacd(gethash_c(hash, key, mkcloc(new_p)), value);
- return new_p;
+ return value;
}
val pushhash(val hash, val key, val value)