aboutsummaryrefslogtreecommitdiff
path: root/ell.c
diff options
context:
space:
mode:
Diffstat (limited to 'ell.c')
-rw-r--r--ell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ell.c b/ell.c
index 101b59e..a73d0a4 100644
--- a/ell.c
+++ b/ell.c
@@ -898,6 +898,7 @@ defn (fn_set) {
struct item *value;
if ((value = name->next))
return check (ctx, (value = new_clone (value)))
+ && check (ctx, (*result = new_clone (value)))
&& set (ctx, name->value, value);
// We return an empty list for a nil value