geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 79a7e08112044a199af35e9c7f9a3f75c3639e25
parent 74efed84eb2e5cc3f5b72be8b112020a362e7232
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed,  7 Feb 2018 20:37:35 +0100

Revert count > 0 to count == 0.

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

diff --git a/ind.c b/ind.c @@ -118,7 +118,7 @@ xsendfile(int fd, int sock) count = 0; #endif - if (count > 0) { + if (count == 0) { sendb = xmalloc(bufsiz); while ((len = read(fd, sendb, bufsiz)) > 0) { sendi = sendb;