projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3614ae6
)
fix the alias support
author
John Crispin
<blogic@openwrt.org>
Tue, 20 Oct 2015 18:12:24 +0000
(20:12 +0200)
committer
John Crispin
<blogic@openwrt.org>
Tue, 20 Oct 2015 18:12:41 +0000
(20:12 +0200)
the path compare return code was not honoured properly
Signed-off-by: John Crispin <blogic@openwrt.org>
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 6b5020f1d0126cdda5b3a62e44f27cd9b4199373..009acbd9aca217ed6c0f6810344567432c0f55e4 100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-828,7
+828,7
@@
static char *uh_handle_alias(char *old_url)
int new_len;
int path_len = 0;
- if (uh_path_match(alias->alias, old_url))
+ if (
!
uh_path_match(alias->alias, old_url))
continue;
if (alias->path)