tQuick fix: add <br> at EOL in menus - phroxy - Gopher to HTTP proxy
(HTM) git clone git://git.z3bra.org/phroxy.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 251225e03621f3ff7fd90af3683968ba2f7ed115
(DIR) parent 6e94eb9317745df9cee6ce43df062fc0801da6ba
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 24 Sep 2020 10:03:15 +0200
Quick fix: add <br> at EOL in menus
Diffstat:
M phroxy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/phroxy.c b/phroxy.c
t@@ -232,8 +232,8 @@ int
printmenu(int fd, char *data)
{
char i, *p, a[LINE_MAX], *f[4];
- char *ifmt = "%s\n";
- char *afmt = "<a href='http://%s/%s:%s/%c%s'>%s (%s)</a>\n";
+ char *ifmt = "%s<br>\n";
+ char *afmt = "<a href='http://%s/%s:%s/%c%s'>%s (%s)</a><br>\n";
p = data;