Pull present status from presresp.
authorSebastian Hammer <quinn@indexdata.com>
Mon, 20 Feb 1995 20:35:37 +0000 (20:35 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Mon, 20 Feb 1995 20:35:37 +0000 (20:35 +0000)
zlayer/zaccess.c

index ea774ea..d0fd1b4 100644 (file)
@@ -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.");