From: Adam Dickmeiss Date: Thu, 8 Dec 2011 15:21:40 +0000 (+0100) Subject: Fix database wildcard for settings X-Git-Tag: v1.6.7~23^2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=ad7acf71db9e3f66fc4f170605157d810c941e20;p=pazpar2-moved-to-github.git Fix database wildcard for settings Thanks to Sven Porst for the patch. --- diff --git a/src/database.c b/src/database.c index c933181..b83dec7 100644 --- a/src/database.c +++ b/src/database.c @@ -117,7 +117,7 @@ int match_zurl(const char *zurl, const char *pattern) if (!strncmp(pattern, zurl, len)) return 1; else - return 2; + return 0; } else if (!strcmp(pattern, zurl)) return 1;