X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fodr_any.c;h=0def5ee4e2194920e864afa2af14d699a31273e2;hb=8bccad6217bd2ba078106a531a9e73e7f3aae4a9;hp=3c5c0673f29a00a4989533e28105ab33e16bbcb6;hpb=569f86b4615c2731727be2a0ff898d36f9725819;p=yaz-moved-to-github.git diff --git a/odr/odr_any.c b/odr/odr_any.c index 3c5c067..0def5ee 100644 --- a/odr/odr_any.c +++ b/odr/odr_any.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_any.c,v 1.11 2002-07-25 12:51:08 adam Exp $ + * $Id: odr_any.c,v 1.13 2003-03-11 11:03:31 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -33,6 +33,6 @@ int odr_any(ODR o, Odr_any **p, int opt, const char *name) return 1; *p = 0; if (!opt) - o->error = OREQUIRED; + odr_seterror(o, OREQUIRED, 53); return opt; }