diff options
author | bptato <nincsnevem662@gmail.com> | 2024-05-21 18:03:14 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-05-21 18:03:14 +0200 |
commit | 0897f87797f364a28210df8bfef6f848ce543891 (patch) | |
tree | 53664e4a95e93a822e951e706c5522d10c9bfc87 /adapter/format | |
parent | 9e845de83f692e70f9877eacfb83cfed43e4b9d5 (diff) | |
download | chawan-0897f87797f364a28210df8bfef6f848ce543891.tar.gz |
gopher: simplify
* update naming * do not send status code (it was always 200 anyway)
Diffstat (limited to 'adapter/format')
-rw-r--r-- | adapter/format/gopher2html.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/format/gopher2html.nim b/adapter/format/gopher2html.nim index a88acf53..da2dfc90 100644 --- a/adapter/format/gopher2html.nim +++ b/adapter/format/gopher2html.nim @@ -74,7 +74,7 @@ proc main() = let host = get_field() let port = line.until('\t', i) # ignore anything after port var outs = "" - if t == INFO: + if t == gtInfo: if not ispre: outs &= "<PRE>" ispre = true |