aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points
diff options
context:
space:
mode:
Diffstat (limited to 'module/entry-points')
-rw-r--r--module/entry-points/server.scm11
1 files changed, 3 insertions, 8 deletions
diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm
index b2716c15..f053a708 100644
--- a/module/entry-points/server.scm
+++ b/module/entry-points/server.scm
@@ -180,11 +180,9 @@
(description "Address to use, defaults to " (i "0.0.0.0")
" for IPv4, and " (i "::") " for IPv6.")
)
- ;; TODO numbers as single-char seems to not work.
- (six (single-char #\6)
- (description "Use IPv6."))
- (four (single-char #\4)
- (description "Use IPv4."))
+ ;; numbers as single-char doesn't work.
+ (six (description "Use IPv6."))
+ (four (description "Use IPv4."))
(help (single-char #\h)
(description "Print this help."))))
@@ -224,9 +222,6 @@
(bind sock family addr port)
sock)))
-
- ;; TODO possibly test inet-pton here on address?
-
(format #t "Starting server on ~a:~a~%I'm ~a, runing from ~a~%"
addr port
(getpid) (getcwd))