Give traversal and sel in cgi and dcgi call. - geomyidae - a small C-based goph… | |
git clone git://git.codemadness.org/geomyidae | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 96c7692574c9f7edf5faf5c98cafb8473b0fc1ce | |
parent 89ed3ff980bfd8b1a6405be67565b1de3b393ac3 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Thu, 3 Aug 2023 13:14:48 +0200 | |
Give traversal and sel in cgi and dcgi call. | |
Diffstat: | |
M handlr.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/handlr.c b/handlr.c | |
@@ -172,7 +172,7 @@ handlecgi(int sock, char *file, char *port, char *base, cha… | |
setcgienviron(script, file, port, base, args, sear, ohost, cho… | |
bhost, istls, sel, traverse); | |
- if (execl(file, script, sear, args, ohost, port, | |
+ if (execl(file, script, sear, args, ohost, port, traverse, sel, | |
(char *)NULL) == -1) { | |
perror("execl"); | |
_exit(1); | |
@@ -227,7 +227,7 @@ handledcgi(int sock, char *file, char *port, char *base, ch… | |
setcgienviron(script, file, port, base, args, sear, ohost, cho… | |
bhost, istls, sel, traverse); | |
- if (execl(file, script, sear, args, ohost, port, | |
+ if (execl(file, script, sear, args, ohost, port, traverse, sel, | |
(char *)NULL) == -1) { | |
perror("execl"); | |
_exit(1); |