projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaned debug logs away
[idzebra-moved-to-github.git]
/
recctrl
/
recgrs.c
diff --git
a/recctrl/recgrs.c
b/recctrl/recgrs.c
index
c879c25
..
3fe7f21
100644
(file)
--- a/
recctrl/recgrs.c
+++ b/
recctrl/recgrs.c
@@
-1,4
+1,4
@@
-/* $Id: recgrs.c,v 1.90 2004-09-27 10:44:50 adam Exp $
+/* $Id: recgrs.c,v 1.92 2004-10-12 18:21:35 quinn Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-31,8
+31,8
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <yaz/log.h>
#include <yaz/oid.h>
#include <yaz/log.h>
#include <yaz/oid.h>
-#include <recctrl.h>
-#include "grsread.h"
+#include <d1_absyn.h>
+#include <idzebra/recgrs.h>
#define GRS_MAX_WORD 512
#define GRS_MAX_WORD 512
@@
-1098,6
+1098,10
@@
int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p,
sprintf(dnew->u.data.data, ZINT_FORMAT, p->localno);
dnew->u.data.len = strlen(dnew->u.data.data);
}
sprintf(dnew->u.data.data, ZINT_FORMAT, p->localno);
dnew->u.data.len = strlen(dnew->u.data.data);
}
+
+ if (p->input_format == VAL_TEXT_XML)
+ zebra_xml_metadata (p, top, mem);
+
#if 0
data1_pr_tree (p->dh, node, stdout);
#endif
#if 0
data1_pr_tree (p->dh, node, stdout);
#endif
@@
-1229,7
+1233,6
@@
int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p,
p->input_format : VAL_SUTRS))
{
case VAL_TEXT_XML:
p->input_format : VAL_SUTRS))
{
case VAL_TEXT_XML:
- zebra_xml_metadata (p, top, mem);
#if 0
data1_pr_tree (p->dh, node, stdout);
#if 0
data1_pr_tree (p->dh, node, stdout);