fix fallthrough, search items were displayed incorrectly - gopherproxy-c - Gopher HTTP proxy in C (CGI)
(HTM) git clone git://git.codemadness.org/gopherproxy-c
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 68d669677f9f159d33c5b8f369f716edd2dd91e0
(DIR) parent a3dbec3aff240cf18792ac54e40d7ea04dae4d07
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Aug 2018 19:28:09 +0200
fix fallthrough, search items were displayed incorrectly
Diffstat:
M gopherproxy.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/gopherproxy.c b/gopherproxy.c
@@ -317,6 +317,7 @@ servedir(const char *server, const char *port, const char *path, const char *par
fputs(
"\" name=\"p\" value=\"\" size=\"72\" />"
"<input type=\"submit\" value=\"Search\" /></pre></form><pre>", stdout);
+ break;
default: /* other */
fputs(typestr(v._type), stdout);
fputs(" <a href=\"", stdout);