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 522c74dba4eb1ba5895fc39c8e9b1e13ef81e283
parent 94d509cb11422f3bcf4c09c009370f0e5acfb91b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 25 Jun 2017 20:55:59 +0200

handlecgi: show function which failed

Signed-off-by: Christoph Lohmann <20h@r-36.net>

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

diff --git a/handlr.c b/handlr.c @@ -165,7 +165,7 @@ handlecgi(int sock, char *file, char *port, char *base, char *args, } if (execl(file, p, sear, args, ohost, port, (char *)nil) == -1) { - perror(NULL); + perror("execl"); _exit(1); } case -1: