X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=odr%2Fodr_use.c;h=918d69d0a99f165483a49a2d645638fec8c39b59;hb=adc23cad74e4685c31fb088f84c34df347a5a6ee;hp=972d5f707952d34fb7315aed0a02247d6f2e3942;hpb=569f86b4615c2731727be2a0ff898d36f9725819;p=yaz-moved-to-github.git diff --git a/odr/odr_use.c b/odr/odr_use.c index 972d5f7..918d69d 100644 --- a/odr/odr_use.c +++ b/odr/odr_use.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_use.c,v 1.12 2002-07-25 12:51:08 adam Exp $ + * $Id: odr_use.c,v 1.14 2003-05-20 19:55:30 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -27,7 +27,7 @@ int odr_external(ODR o, Odr_external **p, int opt, const char *name) odr_implicit_settag(o, ODR_UNIVERSAL, ODR_EXTERNAL); if (!odr_sequence_begin(o, p, sizeof(Odr_external), name)) - return opt; + return odr_missing(o, opt, name); pp = *p; return odr_oid(o, &pp->direct_reference, 1, "direct") &&