Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a4b1a
)
dirplex: Fixed dotfile-checking typo.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 15 Jan 2011 03:55:56 +0000
(
04:55
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 15 Jan 2011 03:55:56 +0000
(
04:55
+0100)
src/dirplex/dirplex.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dirplex/dirplex.c
b/src/dirplex/dirplex.c
index
358d0b1
..
162e4fd
100644
(file)
--- 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);
}