X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_oid.c;h=5b579cc3f7a1fd2d795a6470fa3d7f664801df19;hb=b853eb3de1a249859eef71c9a285172a199656ce;hp=95d44477c3ac7b70f80bb1f4932fcd90b0d2ecc8;hpb=3cef72d7093afaa8b106e4160ef0885b2ac50335;p=yaz-moved-to-github.git diff --git a/src/odr_oid.c b/src/odr_oid.c index 95d4447..5b579cc 100644 --- a/src/odr_oid.c +++ b/src/odr_oid.c @@ -1,8 +1,12 @@ /* - * Copyright (c) 1995-2004, Index Data + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: odr_oid.c,v 1.3 2004-08-13 07:30:06 adam Exp $ + * $Id: odr_oid.c,v 1.6 2005-05-26 21:46:40 adam Exp $ + */ +/** + * \file odr_oid.c + * \brief Implements ODR OID codec */ #if HAVE_CONFIG_H #include @@ -48,5 +52,5 @@ int odr_oid(ODR o, Odr_oid **p, int opt, const char *name) } if (o->direction == ODR_DECODE) *p = (int *)odr_malloc(o, OID_SIZE * sizeof(**p)); - return ber_oidc(o, *p); + return ber_oidc(o, *p, OID_SIZE); }