| handlecgi: show function which failed - geomyidae - A small C-based gopherd. | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit 522c74dba4eb1ba5895fc39c8e9b1e13ef81e283 | |
| parent 94d509cb11422f3bcf4c09c009370f0e5acfb91b | |
| Author: Hiltjo Posthuma <[email protected]> | |
| Date: Sun, 25 Jun 2017 20:55:59 +0200 | |
| handlecgi: show function which failed | |
| Signed-off-by: Christoph Lohmann <[email protected]> | |
| Diffstat: | |
| M 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, cha… | |
| } | |
| if (execl(file, p, sear, args, ohost, port, (char *)nil) == -1… | |
| - perror(NULL); | |
| + perror("execl"); | |
| _exit(1); | |
| } | |
| case -1: |