X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_choice.c;h=f91c589dbdb1aac39407e21a88311e643aea7dd4;hb=dc068db61c02117e4e7e4aa3136f055965ec063c;hp=53b6516226492350f1fa7596fa6a4c4eca8c32d2;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/odr_choice.c b/src/odr_choice.c index 53b6516..f91c589 100644 --- a/src/odr_choice.c +++ b/src/odr_choice.c @@ -1,10 +1,15 @@ /* - * 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_choice.c,v 1.1 2003-10-27 12:21:33 adam Exp $ + * $Id: odr_choice.c,v 1.4 2005-01-15 19:47:14 adam Exp $ */ + +/** + * \file odr_choice.c + * \brief Implements ODR CHOICE codec + */ + #if HAVE_CONFIG_H #include #endif @@ -33,7 +38,7 @@ int odr_choice(ODR o, Odr_arm arm[], void *p, void *whichp, if (name) { odr_prname(o, name); - fprintf (o->print, "choice\n"); + odr_printf(o, "choice\n"); } } for (i = 0; arm[i].fun; i++)