aboutsummaryrefslogtreecommitdiff
path: root/main.ha
diff options
context:
space:
mode:
Diffstat (limited to 'main.ha')
-rw-r--r--main.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.ha b/main.ha
index 545e9bd..b52f111 100644
--- a/main.ha
+++ b/main.ha
@@ -39,7 +39,7 @@ export fn main() void = {
const server = match (http::listen(ip_addr, port, net::tcp::reuseport, net::tcp::reuseaddr)) {
case let this: *http::server =>
yield this;
- case net::error => abort("failure while listening");
+ case => abort("failure while listening");
};
defer http::server_finish(server);