From 27fa95200e32c043a7c3da03c37382f384919a28 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Fri, 21 Apr 1995 16:29:32 +0000 Subject: [PATCH] Fixed bugs. --- zlayer/zaccess-yaz.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zlayer/zaccess-yaz.c b/zlayer/zaccess-yaz.c index 04453b7..c13bdf9 100644 --- a/zlayer/zaccess-yaz.c +++ b/zlayer/zaccess-yaz.c @@ -4,7 +4,10 @@ * Z39.50 API for the Email gateway - YAZ version * * $Log: zaccess-yaz.c,v $ - * Revision 1.6 1995/04/21 12:58:36 adam + * Revision 1.7 1995/04/21 16:29:32 quinn + * Fixed bugs. + * + * Revision 1.6 1995/04/21 12:58:36 adam * Bug fix. * * Revision 1.5 1995/04/20 15:25:32 quinn @@ -298,7 +301,7 @@ static Z_RPNStructure *rpn2rpn(ODR o, struct ccl_rpn_node *q) r->u.simple = odr_malloc(o, sizeof(Z_Operand)); r->u.simple->which = Z_Operand_resultSetId; r->u.simple->u.resultSetId = odr_malloc(o, len = - strlen(q->u.setname)+1); + strlen(q->u.setname) + 1); memcpy(r->u.simple->u.resultSetId, q->u.setname, len); return r; case CCL_RPN_AND: case CCL_RPN_OR: case CCL_RPN_NOT: -- 1.7.10.4