phroxy

Gopher to HTTP proxy
git clone git://git.z3bra.org/phroxy.git
Log | Files | Refs | LICENSE

commit 251225e03621f3ff7fd90af3683968ba2f7ed115
parent 6e94eb9317745df9cee6ce43df062fc0801da6ba
Author: Willy Goiffon <dev@z3bra.org>
Date:   Thu, 24 Sep 2020 10:03:15 +0200

Quick fix: add <br> at EOL in menus

Diffstat:
Mphroxy.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/phroxy.c b/phroxy.c @@ -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;