X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fodr_seq.c;h=ab68a76d3074b0ff64ea229a978818fa812b58ef;hb=8bccad6217bd2ba078106a531a9e73e7f3aae4a9;hp=191b97e2198166e9e195e62eea09fac26d3c6dfa;hpb=569f86b4615c2731727be2a0ff898d36f9725819;p=yaz-moved-to-github.git diff --git a/odr/odr_seq.c b/odr/odr_seq.c index 191b97e..ab68a76 100644 --- a/odr/odr_seq.c +++ b/odr/odr_seq.c @@ -1,9 +1,9 @@ /* - * Copyright (c) 1995-2002, Index Data + * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: odr_seq.c,v 1.28 2002-07-25 12:51:08 adam Exp $ + * $Id: odr_seq.c,v 1.30 2003-03-11 11:03:31 adam Exp $ */ #if HAVE_CONFIG_H @@ -121,7 +121,7 @@ static int odr_sequence_x (ODR o, Odr_fun type, void *p, int *num) } break; default: - o->error = OOTHER; + odr_seterror(o, OOTHER, 47); return 0; } return odr_sequence_end(o);