X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;h=d6879573cd397d4be6152ba13a7ea06d5479b6c4;hp=55b464801f3a28b0c3fc8f0101b6845f32ccac69;hb=54490135194e0474e753ce7d4cb60f935dad1dd4;hpb=c1fc98261011ee0758a49da491cf4bd4e47eb8eb diff --git a/src/dirplex/dirplex.c b/src/dirplex/dirplex.c index 55b4648..d687957 100644 --- a/src/dirplex/dirplex.c +++ b/src/dirplex/dirplex.c @@ -244,7 +244,7 @@ static int checkdir(struct hthead *req, int fd, char *path, char *rest) struct child *ch; cf = getconfig(path); - if(cf->capture != NULL) { + if((cf->capture != NULL) && (cf->caproot || !cf->path || strcmp(cf->path, "."))) { cpath = sprintf2("%s/", path); if((ch = findchild(cpath, cf->capture, &ccf)) == NULL) { free(cpath);