From 334449ba48ce60b1e306f2f026caf80d0af9ebb8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 5 Jul 1995 11:09:06 +0000 Subject: [PATCH] Bug fix in zass_openresult. --- zlayer-zdist/zaccess.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zlayer-zdist/zaccess.c b/zlayer-zdist/zaccess.c index 9cafc9c..a092b9e 100644 --- a/zlayer-zdist/zaccess.c +++ b/zlayer-zdist/zaccess.c @@ -47,7 +47,10 @@ * Z39.50 API for the Email gateway * * $Log: zaccess.c,v $ - * Revision 1.2 1995/07/05 10:20:44 adam + * Revision 1.3 1995/07/05 11:09:06 adam + * Bug fix in zass_openresult. + * + * Revision 1.2 1995/07/05 10:20:44 adam * Edited ZDist zlayer to use new API. * * Revision 1.1 1995/07/03 08:21:43 adam @@ -214,7 +217,8 @@ int zass_openresult(ZASS p, int *complete) p->preferredmessagesize = InitResponse_GetPreferredMessageSize(ires); p->maxrecordsize = InitResponse_GetExceptionalRecordSize(ires); InitResponse_Destroy(ires); - *complete = 1; + if (complete) + *complete = 1; return 0; } -- 1.7.10.4