X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsrwutil.c;fp=src%2Fsrwutil.c;h=cb002784c2a2bf48b97b9d8921f52fab20ed50df;hp=40c9735d1acb85960f06c88e90b417f16ecfb181;hb=75ce92c9fc70d35dce5b2bca90fd79873e48c4c2;hpb=4df8de77ce5d4d97a9d5588f49a5c8298183776e diff --git a/src/srwutil.c b/src/srwutil.c index 40c9735..cb00278 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -376,9 +376,9 @@ int yaz_sru_decode(Z_HTTP_Request *hreq, Z_SRW_PDU **srw_pdu, !yaz_strcmp_del("application/x-www-form-urlencoded", content_type, "; "))) { + char *db = "Default"; const char *p0 = hreq->path, *p1; #if YAZ_HAVE_XML2 - char *db = "Default"; const char *operation = 0; char *version = 0; char *query = 0;