X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fseshigh.c;h=8a651400b4363e7f5d638eaea67e3dcbe91fd5e0;hb=26fdcc5e41254131ef755b14243c19d202b14d8e;hp=76830439712477cdc961a06338e01e02a54892de;hpb=e207755675f8dbf552f1e0696077594e7fa68190;p=yaz-moved-to-github.git diff --git a/server/seshigh.c b/server/seshigh.c index 7683043..8a65140 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -1,10 +1,17 @@ /* - * Copyright (c) 1995-1998, Index Data + * Copyright (c) 1995-1999, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: seshigh.c,v $ - * Revision 1.84 1998-11-16 16:02:32 adam + * Revision 1.86 1999-02-02 13:57:38 adam + * Uses preprocessor define WIN32 instead of WINDOWS to build code + * for Microsoft WIN32. + * + * Revision 1.85 1998/11/17 09:52:59 adam + * Fixed minor bug (introduced by previous commit). + * + * Revision 1.84 1998/11/16 16:02:32 adam * Added loggin utilies, log_rpn_query and log_scan_term. These used * to be part of Zebra. * @@ -295,7 +302,7 @@ #include #include #include -#ifdef WINDOWS +#ifdef WIN32 #include #else #include @@ -1497,7 +1504,6 @@ static Z_APDU *process_scanRequest(association *assoc, request *reqb, int *fd) for (i = 0; i < req->num_databaseNames; i++) logf (LOG_LOG, "Database '%s'", req->databaseNames[i]); } - log_scan_term (req->termListAndStartPoint, attset->value); srq.num_bases = req->num_databaseNames; srq.basenames = req->databaseNames; srq.num_entries = *req->numberOfTermsRequested; @@ -1508,6 +1514,7 @@ static Z_APDU *process_scanRequest(association *assoc, request *reqb, int *fd) srq.attributeset = VAL_NONE; else srq.attributeset = attset->value; + log_scan_term (req->termListAndStartPoint, attset->value); srq.term_position = req->preferredPositionInResponse ? *req->preferredPositionInResponse : 1; if (!(srs = bend_scan(assoc->backend, &srq, 0)))