From 833c538c32826ed87c0a1dc25365d33fb985cd21 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 20 Jul 1995 08:18:15 +0000 Subject: [PATCH] Bug fix: Multiple databases are separated by commas and NOT by space. --- zlayer-yaz/zaccess.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; -- 1.7.10.4