projects
/
yaz-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:
4df8de7
)
Revert "Move declaration to avoid warning when compiling wo Libxml2"
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 1 Mar 2014 14:47:05 +0000
(15:47 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 1 Mar 2014 14:47:05 +0000
(15:47 +0100)
This reverts commit
4df8de77ce5d4d97a9d5588f49a5c8298183776e
.
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
40c9735
..
cb00278
100644
(file)
--- 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;