More relaxed about record types.
authorSebastian Hammer <quinn@indexdata.com>
Mon, 20 Feb 1995 18:19:30 +0000 (18:19 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Mon, 20 Feb 1995 18:19:30 +0000 (18:19 +0000)
zlayer/zaccess.c

index be3316a..83bc8b4 100644 (file)
@@ -2,7 +2,10 @@
  * Europagate, 1995
  *
  * $Log: zaccess.c,v $
- * Revision 1.9  1995/02/17 15:17:51  quinn
+ * Revision 1.10  1995/02/20 18:19:30  quinn
+ * More relaxed about record types.
+ *
+ * Revision 1.9  1995/02/17  15:17:51  quinn
  * Bug fix
  *
  * Revision 1.8  1995/02/17  14:48:41  quinn
@@ -342,7 +345,7 @@ void get_responserecords(zass_record ***p, DATA_DIR *rec)
        else
        {
            gw_log(GW_LOG_WARN, ZASS_TYPE, "ZLAYER only knows USMARC at this point.");
-           return;
+           gw_log(GW_LOG_WARN, ZASS_TYPE, "Type was '%d'", (**p)->which);
        }
        align = External_GetEncodingAligned(ext);
        if (!align)
@@ -431,7 +434,6 @@ const struct zass_presentent *zass_present(ZASS a, char *resname, int start,
        }
        r.nextpos = PresentResponse_GetNextResultSetPosition(pdu);
        start = r.nextpos;
-       r.num;
        switch(PresentResponse_GetRecordType(pdu))
        {
            case RESPONSERECORDS_TAG: