X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_enum.c;h=76aadd0efdee61692805a69cb1fa5461848c0f91;hp=45710f6604a48a835c1fc650750b081ff186e22d;hb=0a7d4354288c747883261e9f430a7e0069225a5b;hpb=93027bf060203898f33d1425585303945e58acbd 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)