X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.c;h=162e4fd9dd1200796afb213d0e24c3925ef52b2c;hb=09c82f9c7bc563c081425141853e6ff8e402e358;hp=358d0b1c67732c050bedfc2408b96054bdac1d32;hpb=240d9bcdcd247c14555d204e471b4fee095dd47a;p=ashd.git diff --git a/src/dirplex/dirplex.c b/src/dirplex/dirplex.c index 358d0b1..162e4fd 100644 --- a/src/dirplex/dirplex.c +++ b/src/dirplex/dirplex.c @@ -185,7 +185,7 @@ static int checkentry(struct hthead *req, int fd, char *path, char *rest, char * char *newpath; int rv; - if(!el == '.') { + if(*el == '.') { simpleerror(fd, 404, "Not Found", "The requested URL has no corresponding resource."); return(1); }