phroxy

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

commit dfc1f827663825fec6794c8849751ecdfe3553b5
parent da42dfe53a9cee016cfcb55eb33db0247a7a5563
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue, 15 Sep 2020 09:40:57 +0200

What the hell do I do here ?

Diffstat:
Mphroxy.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phroxy.c b/phroxy.c @@ -384,7 +384,7 @@ phroxy(char *url) return 1; /* fail on incomplete menu output */ - if (item == '1 && strncmp(data[len - 5], "\r\n.\r\n")) + if (item == '1' && strncmp(data + len - 5, "\r\n.\r\n", 5)) return 1; serveitem(item, data, len);