From f5c357bcf6a21cec50d5938d91f50f49953e0002 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 16 Oct 2009 23:57:54 +0200 Subject: [PATCH] Fix update settings for wildcard zurls --- src/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.c b/src/settings.c index 55cd512..db5d7ce 100644 --- a/src/settings.c +++ b/src/settings.c @@ -362,7 +362,7 @@ static void update_database(void *context, struct database *db) // target-specific value trumps wildcard. Delete. *sp = (*sp)->next; // unlink..... } - else if (!zurl_wildcard((*sp)->target)) + else if (zurl_wildcard((*sp)->target) < zurl_wildcard(set->target)) // Db already contains higher-priority setting. Abort search break; else -- 1.7.10.4