diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-07-26 00:16:55 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-07-26 00:16:55 +0000 |
commit | 1720ada410087206c1fa689547fa6fb89fb55989 (patch) | |
tree | cd5ab2614840fb6d858aaa9828e9e6f36e2092ca /WWW | |
parent | fd6abf252cbc486b59eb5e9187bc87f4b05f6cd0 (diff) | |
download | lynx-snapshots-1720ada410087206c1fa689547fa6fb89fb55989.tar.gz |
snapshot of project "lynx", label v2-9-0dev_6o
Diffstat (limited to 'WWW')
-rw-r--r-- | WWW/Library/Implementation/HTGopher.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c index f20d35dc..4f9e02ba 100644 --- a/WWW/Library/Implementation/HTGopher.c +++ b/WWW/Library/Implementation/HTGopher.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTGopher.c,v 1.75 2020/01/21 22:04:23 tom Exp $ + * $LynxId: HTGopher.c,v 1.76 2021/07/25 23:51:30 tom Exp $ * * GOPHER ACCESS HTGopher.c * ============= @@ -377,9 +377,13 @@ static void parse_menu(const char *arg GCC_UNUSED, if (gtype == GOPHER_TELNET) { PUTS(" (TEL) "); + if (*selector == '/') + ++selector; HTSprintf0(&address, format, STR_TELNET_URL, selector, host); } else if (gtype == GOPHER_TN3270) { PUTS("(3270) "); + if (*selector == '/') + ++selector; HTSprintf0(&address, format, STR_TN3270_URL, selector, host); } else { /* If parsed ok */ char *r; |