tWhat the hell do I do here ? - phroxy - Gopher to HTTP proxy
(HTM) git clone git://git.z3bra.org/phroxy.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit dfc1f827663825fec6794c8849751ecdfe3553b5
(DIR) parent da42dfe53a9cee016cfcb55eb33db0247a7a5563
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 15 Sep 2020 09:40:57 +0200
What the hell do I do here ?
Diffstat:
M phroxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/phroxy.c b/phroxy.c
t@@ -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);