summaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 92216ab2..9ff0a67f 100644
--- a/socket.c
+++ b/socket.c
@@ -567,9 +567,10 @@ static val dgram_close(val stream, val throw_on_error)
close(d->fd);
d->fd = -1;
d->err = 0;
+ return t;
}
- return t;
+ return nil;
}
static val dgram_get_prop(val stream, val ind)