diff options
author | John Crispin <blogic@openwrt.org> | 2015-10-20 20:12:24 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-10-20 20:12:41 +0200 |
commit | 618315bc0729c3064e06af2900a86211354f81c9 (patch) | |
tree | 01358441199ef458044b3dff6beb8c7e56261a83 | |
parent | 3614ae6eb7b6101fa5d0f14ff0d3a6eb4970c3da (diff) |
fix the alias support
the path compare return code was not honoured properly
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |