Fix database wildcard for settings
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 8 Dec 2011 15:21:40 +0000 (16:21 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 8 Dec 2011 15:21:40 +0000 (16:21 +0100)
Thanks to Sven Porst for the patch.

src/database.c

index c933181..b83dec7 100644 (file)
@@ -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;