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:
7b86947
)
Avoid mixed stmt/var declare
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 9 Nov 2005 17:47:07 +0000
(17:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 9 Nov 2005 17:47:07 +0000
(17:47 +0000)
src/seshigh.c
patch
|
blob
|
history
src/srw.c
patch
|
blob
|
history
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
1ff40da
..
a7dbefb
100644
(file)
--- a/
src/seshigh.c
+++ b/
src/seshigh.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.64 2005-11-08 15:08:02 adam Exp $
+ * $Id: seshigh.c,v 1.65 2005-11-09 17:47:11 adam Exp $
*/
/**
* \file seshigh.c
*/
/**
* \file seshigh.c
@@
-1476,8
+1476,8
@@
static void process_http_request(association *assoc, request *req)
}
else if (sr->which == Z_SRW_update_request)
{
}
else if (sr->which == Z_SRW_update_request)
{
- yaz_log(YLOG_DEBUG, "handling SRW UpdateRequest");
Z_SRW_PDU *res = yaz_srw_get(o, Z_SRW_update_response);
Z_SRW_PDU *res = yaz_srw_get(o, Z_SRW_update_response);
+ yaz_log(YLOG_DEBUG, "handling SRW UpdateRequest");
if (num_diagnostic)
{
res->u.update_response->diagnostics = diagnostic;
if (num_diagnostic)
{
res->u.update_response->diagnostics = diagnostic;
@@
-1988,7
+1988,7
@@
static Z_APDU *process_initRequest(association *assoc, request *reqb)
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
- version = odr_strdup(assoc->encode, "$Revision: 1.64 $");
+ version = odr_strdup(assoc->encode, "$Revision: 1.65 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,
diff --git
a/src/srw.c
b/src/srw.c
index
759e06e
..
474af62
100644
(file)
--- a/
src/srw.c
+++ b/
src/srw.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: srw.c,v 1.37 2005-11-08 15:08:02 adam Exp $
+ * $Id: srw.c,v 1.38 2005-11-09 17:47:07 adam Exp $
*/
/**
* \file srw.c
*/
/**
* \file srw.c
@@
-972,6
+972,7
@@
int yaz_ucp_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data,
{
xmlNodePtr ptr = method->children;
Z_SRW_updateRequest *req;
{
xmlNodePtr ptr = method->children;
Z_SRW_updateRequest *req;
+ char *oper = 0;
(*p)->which = Z_SRW_update_request;
req = (*p)->u.update_request = (Z_SRW_updateRequest *)
(*p)->which = Z_SRW_update_request;
req = (*p)->u.update_request = (Z_SRW_updateRequest *)
@@
-989,8
+990,6
@@
int yaz_ucp_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data,
req->extraRequestData = 0;
req->stylesheet = 0;
req->extraRequestData = 0;
req->stylesheet = 0;
- char *oper = 0;
-
for (; ptr; ptr = ptr->next)
{
if (match_xsd_string(ptr, "version", o,
for (; ptr; ptr = ptr->next)
{
if (match_xsd_string(ptr, "version", o,