]> www.dolda2000.com Git - ashd.git/commitdiff
dirplex: Fixed dotfile-checking typo.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 15 Jan 2011 03:55:56 +0000 (04:55 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 15 Jan 2011 03:55:56 +0000 (04:55 +0100)
src/dirplex/dirplex.c

index 358d0b1c67732c050bedfc2408b96054bdac1d32..162e4fd9dd1200796afb213d0e24c3925ef52b2c 100644 (file)
@@ -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);
     }