From 0d05f93bacb08df928583aa3d606e1cbaac74442 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Mon, 20 Feb 1995 20:35:37 +0000 Subject: [PATCH] Pull present status from presresp. --- zlayer/zaccess.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zlayer/zaccess.c b/zlayer/zaccess.c index ea774ea..d0fd1b4 100644 --- a/zlayer/zaccess.c +++ b/zlayer/zaccess.c @@ -2,7 +2,10 @@ * Europagate, 1995 * * $Log: zaccess.c,v $ - * Revision 1.11 1995/02/20 18:58:05 quinn + * Revision 1.12 1995/02/20 20:35:37 quinn + * Pull present status from presresp. + * + * Revision 1.11 1995/02/20 18:58:05 quinn * Added hack for record in ANY * * Revision 1.10 1995/02/20 18:19:30 quinn @@ -436,6 +439,7 @@ const struct zass_presentent *zass_present(ZASS a, char *resname, int start, } gw_log(ZASS_DEBUG, ZASS_TYPE, "Got presentresponse"); r.num += PresentResponse_GetNumberOfRecordsReturned(pdu); + r.presentstatus = PresentResponse_GetPresentStatus(pdu); if (r.num == 0) { gw_log(GW_LOG_WARN, ZASS_TYPE, "Got 0 records from target."); -- 1.7.10.4