summaryrefslogtreecommitdiff
path: root/lib/http/server.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http/server.myr')
-rw-r--r--lib/http/server.myr8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/http/server.myr b/lib/http/server.myr
index 8b221bd..90fba7e 100644
--- a/lib/http/server.myr
+++ b/lib/http/server.myr
@@ -14,17 +14,9 @@ pkg http =
;;
const announce = {ds
- var afd
-
match std.announce(ds)
- | `std.Ok f: afd = f
- | `std.Err e: -> `std.Err `Econn
- ;;
-
- match std.listen(afd)
| `std.Err e: -> `std.Err `Econn
| `std.Ok lfd:
- std.close(afd)
-> `std.Ok std.mk([
.refs=1,
.lfd=lfd,