projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3.0.37.
[yaz-moved-to-github.git]
/
util
/
srwtst.c
diff --git
a/util/srwtst.c
b/util/srwtst.c
index
f293620
..
7de077c
100644
(file)
--- a/
util/srwtst.c
+++ b/
util/srwtst.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: srwtst.c,v 1.7 2007-04-17 20:26:18 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
@@
-49,7
+47,7
@@
int main(int argc, char **argv)
if (soap_package->which == Z_SOAP_generic &&
soap_package->u.generic->no == 0)
{
if (soap_package->which == Z_SOAP_generic &&
soap_package->u.generic->no == 0)
{
- Z_SRW_PDU *sr = soap_package->u.generic->p;
+ Z_SRW_PDU *sr = (Z_SRW_PDU *) soap_package->u.generic->p;
if (sr->which == Z_SRW_searchRetrieve_request)
{
Z_SRW_searchRetrieveRequest *req = sr->u.request;
if (sr->which == Z_SRW_searchRetrieve_request)
{
Z_SRW_searchRetrieveRequest *req = sr->u.request;