From: Adam Dickmeiss Date: Fri, 16 Oct 2009 21:57:54 +0000 (+0200) Subject: Fix update settings for wildcard zurls X-Git-Tag: v1.2.3~15 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f5c357bcf6a21cec50d5938d91f50f49953e0002;p=pazpar2-moved-to-github.git Fix update settings for wildcard zurls --- 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