X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_oid.c;h=5b579cc3f7a1fd2d795a6470fa3d7f664801df19;hb=8619c87efd449df46e51100488f7367e6832f4d4;hp=aaacbe5f8b8c6845775158f273423d2a76a0cfda;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/src/odr_oid.c b/src/odr_oid.c index aaacbe5..5b579cc 100644 --- a/src/odr_oid.c +++ b/src/odr_oid.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: odr_oid.c,v 1.5 2005-01-15 19:47:14 adam Exp $ + * $Id: odr_oid.c,v 1.6 2005-05-26 21:46:40 adam Exp $ */ /** * \file odr_oid.c @@ -52,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); }