From: Adam Dickmeiss Date: Thu, 20 Jul 1995 08:18:15 +0000 (+0000) Subject: Bug fix: Multiple databases are separated by commas and NOT by space. X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=833c538c32826ed87c0a1dc25365d33fb985cd21;p=egate.git Bug fix: Multiple databases are separated by commas and NOT by space. --- diff --git a/zlayer-yaz/zaccess.c b/zlayer-yaz/zaccess.c index 16d7695..8d44091 100644 --- a/zlayer-yaz/zaccess.c +++ b/zlayer-yaz/zaccess.c @@ -47,7 +47,10 @@ * Z39.50 API for the Email gateway - YAZ version * * $Log: zaccess.c,v $ - * Revision 1.2 1995/07/05 11:08:33 adam + * Revision 1.3 1995/07/20 08:18:15 adam + * Bug fix: Multiple databases are separated by commas and NOT by space. + * + * Revision 1.2 1995/07/05 11:08:33 adam * Bug fix in init request. * * Revision 1.1 1995/07/03 08:21:31 adam @@ -474,9 +477,9 @@ const struct zass_searchent *zass_search(ZASS a, struct ccl_rpn_node *query, char *p = databases; int more; - while (*p && !isspace(*p)) + while (*p && !isspace(*p) && *p != ',') p++; - if (isspace(*p)) + if (*p) more = 1; else more = 0;