commit 4f2fd7ae0f960721204fa656f8de8e3725bbbb5b from: Omar Polo date: Tue Mar 16 10:23:53 2021 UTC don't need to save the \n position commit - a237223e17df62531786f9c6f658b4ac3fcbc34f commit + 4f2fd7ae0f960721204fa656f8de8e3725bbbb5b blob - e1192f4b5fa35478355120afb7ebbf417f1d4902 blob + b39a329ce4e1949c0ab312e60c4e8186e31212fa --- gemini.c +++ gemini.c @@ -340,7 +340,7 @@ read_reply(int fd, short ev, void *d) req->off += r; /* TODO: really watch for \r\n not \n alone */ - if ((e = telescope_strnchr(req->buf, '\n', req->off)) != NULL) + if (telescope_strnchr(req->buf, '\n', req->off) != NULL) parse_reply(req); else if (req->off == sizeof(req->buf)) close_with_err(req, "invalid response");