* Z39.50 API for the Email gateway - YAZ version
*
* $Log: zaccess-yaz.c,v $
- * Revision 1.5 1995/04/20 15:25:32 quinn
+ * Revision 1.6 1995/04/21 12:58:36 adam
+ * Bug fix.
+ *
+ * Revision 1.5 1995/04/20 15:25:32 quinn
* Asynch. API
*
* Revision 1.4 1995/04/19 16:02:28 adam
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));
+ 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: