X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fodr.c;h=301f15144604aa24fd3e388649e6f0aa70637e59;hb=52463063061a631f9cb086e938bc4494efec0bb5;hp=af2665da547fc3bf48d5a9d8b1918f4a13e69505;hpb=20183db4fcbb8161529ee557ead6789ae2097ae0;p=yaz-moved-to-github.git diff --git a/odr/odr.c b/odr/odr.c index af2665d..301f151 100644 --- a/odr/odr.c +++ b/odr/odr.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: odr.c,v $ - * Revision 1.20 1995-11-08 17:41:32 quinn + * Revision 1.21 1996-07-26 13:38:19 quinn + * Various smaller things. Gathered header-files. + * + * Revision 1.20 1995/11/08 17:41:32 quinn * Smallish. * * Revision 1.19 1995/11/01 13:54:41 quinn @@ -88,7 +91,8 @@ char *odr_errlist[] = "Protocol error", "Malformed data", "Stack overflow", - "Length of constructed type different from sum of members" + "Length of constructed type different from sum of members", + "Overflow writing definite length of constructed type" }; char *odr_errmsg(int n) @@ -142,6 +146,7 @@ void odr_reset(ODR o) o->stackp = -1; nmem_reset(o->mem); o->choice_bias = -1; + o->lenlen = 1; } void odr_destroy(ODR o)