X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_enum.c;h=76aadd0efdee61692805a69cb1fa5461848c0f91;hb=00a44ce036714ab57696ef7ca415e69422745706;hp=45710f6604a48a835c1fc650750b081ff186e22d;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/odr_enum.c b/src/odr_enum.c index 45710f6..76aadd0 100644 --- a/src/odr_enum.c +++ b/src/odr_enum.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: odr_enum.c,v 1.1 2003-10-27 12:21:33 adam Exp $ + * $Id: odr_enum.c,v 1.2 2004-08-11 12:15:38 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -33,7 +33,7 @@ int odr_enum(ODR o, int **p, int opt, const char *name) if (o->direction == ODR_PRINT) { odr_prname(o, name); - fprintf(o->print, "%d\n", **p); + odr_printf(o, "%d\n", **p); return 1; } if (cons)