projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
837ce54
)
Fix update settings for wildcard zurls
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 16 Oct 2009 21:57:54 +0000
(23:57 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 16 Oct 2009 21:57:54 +0000
(23:57 +0200)
src/settings.c
patch
|
blob
|
history
diff --git
a/src/settings.c
b/src/settings.c
index
55cd512
..
db5d7ce
100644
(file)
--- 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.....
}
// 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
// Db already contains higher-priority setting. Abort search
break;
else