X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fseshigh.c;h=936cd8002948b0d25c1b857b6842671b3323131e;hb=57a4650104210f5e0bd9b6e0dbde0690000c1dc1;hp=d7e34a0226de57b640726f07e4b015660a7ee8fe;hpb=16bbe562b92ceb5129c779a2d772c068d6de028f;p=yaz-moved-to-github.git diff --git a/server/seshigh.c b/server/seshigh.c index d7e34a0..936cd80 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: seshigh.c,v 1.125 2002-01-23 21:13:30 adam Exp $ + * $Id: seshigh.c,v 1.126 2002-01-23 22:40:36 adam Exp $ */ /* @@ -45,6 +45,7 @@ #include #include #include +#include #include @@ -759,7 +760,7 @@ static Z_Records *diagrec(association *assoc, int error, char *addinfo) odr_malloc (assoc->encode, sizeof(*dr)); yaz_log(LOG_LOG, "[%d] %s %s%s", error, diagbib1_str(error), - addinfo ? " -- " : "", addinfo ? addinfo : "", error); + addinfo ? " -- " : "", addinfo ? addinfo : ""); rec->which = Z_Records_NSD; rec->u.nonSurrogateDiagnostic = dr; dr->diagnosticSetId = @@ -936,7 +937,7 @@ static Z_Records *pack_records(association *a, char *setname, int start, } else /* too big entirely */ { - yaz_log(LOG_DEBUG, "Record > maxrcdsz"); + yaz_log(LOG_LOG, "Record > maxrcdsz this=%d max=%d", this_length, a->maximumRecordSize); reclist->records[reclist->num_records] = surrogatediagrec(a, freq.basename, 17, 0); reclist->num_records++; @@ -1225,7 +1226,6 @@ static Z_APDU *process_scanRequest(association *assoc, request *reqb, int *fd) Z_ListEntries *ents = (Z_ListEntries *) odr_malloc (assoc->encode, sizeof(*ents)); Z_DiagRecs *diagrecs_p = NULL; - oident *attent; oident *attset; bend_scan_rr *bsrr = (bend_scan_rr *) odr_malloc (assoc->encode, sizeof(*bsrr));