X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;h=c31c6cda7a62c175a87b1eb339db28148068edef;hb=a756e349cf57ac9468161439a1452490dc009c94;hp=f1f99e429df29c44c467d4b7e6f0608265e96dd6;hpb=600a1ce79471493f8cad5fcf118dc9797331d5aa;p=ashd.git diff --git a/src/dirplex/dirplex.c b/src/dirplex/dirplex.c index f1f99e4..c31c6cd 100644 --- a/src/dirplex/dirplex.c +++ b/src/dirplex/dirplex.c @@ -47,14 +47,14 @@ static void handle(struct hthead *req, int fd, char *path, struct pattern *pat) headappheader(req, "X-Ash-File", path); if(pat->fchild) { - stdforkserve(pat->fchild, req, fd); + stdforkserve(pat->fchild, req, fd, NULL, NULL); } else { if((ch = findchild(path, pat->childnm)) == NULL) { flog(LOG_ERR, "child %s requested, but was not declared", pat->childnm); simpleerror(fd, 500, "Configuration Error", "The server is erroneously configured. Handler %s was requested, but not declared.", pat->childnm); return; } - if(childhandle(ch, req, fd)) + if(childhandle(ch, req, fd, NULL, NULL)) simpleerror(fd, 500, "Server Error", "The request handler crashed."); } }