Using the ICU wrapper from YAZ rather than its own.
[pazpar2-moved-to-github.git] / src / database.c
index 347c26b..fab9249 100644 (file)
@@ -17,6 +17,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <libxml/parser.h>
 #include <libxml/tree.h>
 #include <libxslt/xslt.h>
@@ -130,7 +134,7 @@ static struct database *load_database(const char *id)
     if ((dbname = strchr(hostport, '/')))
         *(dbname++) = '\0';
     else
-        dbname = "Default";
+        dbname = "";
     if (!(host = find_host(hostport)))
         return 0;
     db = nmem_malloc(nmem, sizeof(*db));