summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
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)