X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_bool.c;h=151d0504c3a4713c6f02ec0f24d913a31cec5d31;hp=36c858bcae02c19b1587ec57b9f136b9f509812f;hb=0a7d4354288c747883261e9f430a7e0069225a5b;hpb=93027bf060203898f33d1425585303945e58acbd diff --git a/src/odr_bool.c b/src/odr_bool.c index 36c858b..151d050 100644 --- a/src/odr_bool.c +++ b/src/odr_bool.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: odr_bool.c,v 1.1 2003-10-27 12:21:33 adam Exp $ + * $Id: odr_bool.c,v 1.2 2004-08-11 12:15:38 adam Exp $ */ #if HAVE_CONFIG_H #include @@ -34,7 +34,7 @@ int odr_bool(ODR o, int **p, int opt, const char *name) if (o->direction == ODR_PRINT) { odr_prname(o, name); - fprintf(o->print, "%s\n", (**p ? "TRUE" : "FALSE")); + odr_printf(o, "%s\n", (**p ? "TRUE" : "FALSE")); return 1; } if (cons)