From: Fredrik Tolf Date: Sat, 15 Jan 2011 03:55:56 +0000 (+0100) Subject: dirplex: Fixed dotfile-checking typo. X-Git-Tag: 0.5~5 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=c6cb01ef6ac92d48f1eb82e173662023547355fc dirplex: Fixed dotfile-checking typo. --- 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); }