summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-01-12 21:33:52 -0800
committerOri Bernstein <ori@eigenstate.org>2019-01-12 21:33:52 -0800
commit9f1ac5b4a1f2bb17b145c37f22bfc1b06432220e (patch)
treefe9efe5591ad37b1714ae49799f77fa3e54a50f3
parent64462bb36f34be7ab4aa1fcf7195739eb617a044 (diff)
downloadmc-9f1ac5b4a1f2bb17b145c37f22bfc1b06432220e.tar.gz
Tell us what host/port we're listening on.
-rw-r--r--examples/srvdot.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/srvdot.myr b/examples/srvdot.myr
index e6c0a21..7a775b6 100644
--- a/examples/srvdot.myr
+++ b/examples/srvdot.myr
@@ -21,6 +21,7 @@ const main = {args
| `std.Err e: std.fatal("unable to announce: {}\n", e)
;;
+ std.put("serving on {}\n", ann)
http.serve(srv, route)
}