X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=odr%2Fber_oct.c;h=968042431d2c89ff79512f96d17d934d0973090a;hp=91c0e9d767cde3f5b8912b62eed8c9985109ff2f;hb=c126b2a625462f95475f00efdfdf9ce41a0e9c79;hpb=62bcf7a811cd3151ac10f93317c9ddfa6b16f539 diff --git a/odr/ber_oct.c b/odr/ber_oct.c index 91c0e9d..9680424 100644 --- a/odr/ber_oct.c +++ b/odr/ber_oct.c @@ -4,7 +4,12 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: ber_oct.c,v $ - * Revision 1.14 1999-11-30 13:47:11 adam + * Revision 1.15 2000-01-31 13:15:21 adam + * Removed uses of assert(3). Cleanup of ODR. CCL parser update so + * that some characters are not surrounded by spaces in resulting term. + * ILL-code updates. + * + * Revision 1.14 1999/11/30 13:47:11 adam * Improved installation. Moved header files to include/yaz. * * Revision 1.13 1999/04/20 09:56:48 adam @@ -67,7 +72,6 @@ int ber_octetstring(ODR o, Odr_oct *p, int cons) return 0; } o->bp += res; - o->left -= res; if (cons) /* fetch component strings */ { base = o->bp; @@ -93,7 +97,6 @@ int ber_octetstring(ODR o, Odr_oct *p, int cons) memcpy(p->buf + p->len, o->bp, len); p->len += len; o->bp += len; - o->left -= len; return 1; case ODR_ENCODE: if ((res = ber_enclen(o, p->len, 5, 0)) < 0)