* Chas Woodfield, Fretwell Downing Datasystems.
*
* $Log: ztest.c,v $
- * Revision 1.23 1999-05-27 13:02:20 adam
+ * Revision 1.25 1999-06-01 14:29:12 adam
+ * Work on Extended Services.
+ *
+ * Revision 1.24 1999/05/27 13:07:54 adam
+ * Fix.
+ *
+ * Revision 1.23 1999/05/27 13:02:20 adam
* Assigned OID for old DB Update (VAL_DBUPDATE0).
*
* Revision 1.22 1999/05/26 13:49:12 adam
logf (LOG_LOG, " unknown (%d)", *toKeep->action);
}
}
- logf (LOG_LOG, "database: %s",
- (toKeep->databaseName ? toKeep->databaseName : "<null>"));
+ if (toKeep->databaseName)
+ {
+ logf (LOG_LOG, "database: %s", toKeep->databaseName);
+ if (!strcmp(toKeep->databaseName, "fault"))
+ {
+ rr->errcode = 109;
+ rr->errstring = toKeep->databaseName;
+ }
+ if (!strcmp(toKeep->databaseName, "accept"))
+ rr->errcode = -1;
+ }
if (notToKeep)
{
int i;
logf (LOG_LOG, "%d bytes:\n%s",
rec->u.sutrs->len,
rec->u.sutrs->buf);
+ break;
case Z_External_octet :
if (rec->u.octet_aligned->len > 170)
logf (LOG_LOG, "%d bytes:\n%.168s ...",
rr->esr->taskSpecificParameters->which);
}
- rr->errcode = 0;
return 0;
}