X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_oid.c;h=aaacbe5f8b8c6845775158f273423d2a76a0cfda;hb=1ee98ea192555da1959c4012736f7797cc5f91df;hp=5ff3f18dfa68df66a6366bb33dd6f275a28fb6f2;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/odr_oid.c b/src/odr_oid.c index 5ff3f18..aaacbe5 100644 --- a/src/odr_oid.c +++ b/src/odr_oid.c @@ -1,9 +1,12 @@ /* - * Copyright (c) 1995-2003, Index Data + * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * - * $Id: odr_oid.c,v 1.1 2003-10-27 12:21:33 adam Exp $ + * $Id: odr_oid.c,v 1.5 2005-01-15 19:47:14 adam Exp $ + */ +/** + * \file odr_oid.c + * \brief Implements ODR OID codec */ #if HAVE_CONFIG_H #include @@ -41,10 +44,10 @@ int odr_oid(ODR o, Odr_oid **p, int opt, const char *name) int i; odr_prname(o, name); - fprintf(o->print, "OID:"); + odr_printf(o, "OID:"); for (i = 0; (*p)[i] > -1; i++) - fprintf(o->print, " %d", (*p)[i]); - fprintf(o->print, "\n"); + odr_printf(o, " %d", (*p)[i]); + odr_printf(o, "\n"); return 1; } if (o->direction == ODR_DECODE)