From 618315bc0729c3064e06af2900a86211354f81c9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 20 Oct 2015 20:12:24 +0200 Subject: [PATCH] fix the alias support the path compare return code was not honoured properly Signed-off-by: John Crispin --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 6b5020f..009acbd 100644 --- 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) -- 2.25.1