diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-10 22:58:47 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-10 23:22:46 +0200 |
commit | 10ca74d526b5626b64753754adbbdfe4689ebe99 (patch) | |
tree | 5e33a5bc285073c78806ccea4934b22fda1d148b /module/entry-points/server.scm | |
parent | Add --config flag. (diff) | |
download | calp-10ca74d526b5626b64753754adbbdfe4689ebe99.tar.gz calp-10ca74d526b5626b64753754adbbdfe4689ebe99.tar.xz |
Remove minor TODO's in server.
Diffstat (limited to 'module/entry-points/server.scm')
-rw-r--r-- | module/entry-points/server.scm | 11 |
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)) |