# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.21 1995-05-15 11:56:36 quinn Exp $
+# $Id: Makefile,v 1.22 1995-05-15 13:25:10 quinn Exp $
LIBDIR=../lib
-# Uncomment this when you want to use XTIMOSI
-LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
+#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../../xtimosi/src -I../../alex/include
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: seshigh.c,v $
- * Revision 1.22 1995-05-15 11:56:39 quinn
+ * Revision 1.23 1995-05-15 13:25:10 quinn
+ * Fixed memory bug.
+ *
+ * Revision 1.22 1995/05/15 11:56:39 quinn
* Asynchronous facilities. Restructuring of seshigh code.
*
* Revision 1.21 1995/05/02 08:53:19 quinn
/* we got a complete PDU. Let's decode it */
req = request_get(); /* get a new request structure */
odr_reset(assoc->decode);
- odr_setbuf(assoc->decode, assoc->input_buffer,
- assoc->input_apdu_len, 0);
+ odr_setbuf(assoc->decode, assoc->input_buffer, res, 0);
if (!z_APDU(assoc->decode, &req->request, 0))
{
logf(LOG_WARN, "ODR error: %s",
resp.result = &result;
resp.implementationId = "YAZ";
resp.implementationName = "Index Data/YAZ Generic Frontend Server";
- resp.implementationVersion = "$Revision: 1.22 $";
+ resp.implementationVersion = "$Revision: 1.23 $";
resp.userInformationField = 0;
return &apdu;
}
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dmalloc.c,v $
- * Revision 1.3 1995-05-15 11:56:55 quinn
+ * Revision 1.4 1995-05-15 13:25:13 quinn
+ * Fixed memory bug.
+ *
+ * Revision 1.3 1995/05/15 11:56:55 quinn
* Debuggng & adjustments.
*
* Revision 1.2 1995/04/10 10:23:50 quinn
file, line, len, nbytes, p, r + 2 * sizeof(long));
memcpy(r, &head, sizeof(long));
memcpy(r + sizeof(long), &nlen, sizeof(long));
- if (r != ptr - 2 * sizeof(long))
- {
- memcpy(r + 2 * sizeof(long), ptr, len);
- memcpy(ptr - 2 * sizeof(long), &freed, sizeof(long));
- }
r += 2 * sizeof(long);
memcpy(r + nbytes, &tail, sizeof(long));
return r;