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:
056f947
)
dirplex: Don't strip all of X-Ash-File.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 23 Jul 2011 19:12:00 +0000
(21:12 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 23 Jul 2011 19:12:00 +0000
(21:12 +0200)
src/dirplex/dirplex.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dirplex/dirplex.c
b/src/dirplex/dirplex.c
index
8b604d2
..
c6da4b6
100644
(file)
--- a/
src/dirplex/dirplex.c
+++ b/
src/dirplex/dirplex.c
@@
-61,7
+61,7
@@
static void handle(struct hthead *req, int fd, char *path, struct pattern *pat)
struct config *ccf;
char *twd;
- if(!strncmp(path, "./", 2))
+ if(!strncmp(path, "./", 2)
&& path[2]
)
path += 2;
if(pat->fchild) {
headappheader(req, "X-Ash-File", path);