* Copyright (C) 1995-2004, Index Data
* All rights reserved.
*
- * $Id: logrpn.c,v 1.4 2004-11-16 17:08:11 heikki Exp $
+ * $Id: logrpn.c,v 1.5 2004-11-16 22:10:29 adam Exp $
*/
/**
void log_scan_term_level (int loglevel,
Z_AttributesPlusTerm *zapt, oid_value ast)
{
+ int depth = 0;
if (!loglevel)
return;
- int depth = 0;
if (zapt->term->which == Z_Term_general)
{
yaz_log (loglevel, "%*.0s term '%.*s' (general)", depth, "",
* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.34 2004-11-16 17:08:11 heikki Exp $
+ * $Id: seshigh.c,v 1.35 2004-11-16 22:14:44 adam Exp $
*/
/**
* \file seshigh.c
assoc->init->implementation_name,
odr_prepend(assoc->encode, "GFS", resp->implementationName));
- version = odr_strdup(assoc->encode, "$Revision: 1.34 $");
+ version = odr_strdup(assoc->encode, "$Revision: 1.35 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
resp->implementationVersion = odr_prepend(assoc->encode,
int *oid, int *errcode)
{
int recno, total_length = 0, toget = *num, dumped_records = 0;
- *errcode=0;
Z_Records *records =
(Z_Records *) odr_malloc (a->encode, sizeof(*records));
Z_NamePlusRecordList *reclist =
Z_NamePlusRecord **list =
(Z_NamePlusRecord **) odr_malloc (a->encode, sizeof(*list) * toget);
+ *errcode=0;
records->which = Z_Records_DBOSD;
records->u.databaseOrSurDiagnostics = reclist;
reclist->num_records = 0;