X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;h=c31c6cda7a62c175a87b1eb339db28148068edef;hb=6a7a868e28e79f5502cc4b37578c263f640439c8;hp=f1f99e429df29c44c467d4b7e6f0608265e96dd6;hpb=23c627d263701656532d63fade39da08072b56cf;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."); } }