handlecgi: show function which failed - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 522c74dba4eb1ba5895fc39c8e9b1e13ef81e283 DIR parent 94d509cb11422f3bcf4c09c009370f0e5acfb91b HTML 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: M handlr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR 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: