X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_cons.c;fp=src%2Fodr_cons.c;h=48c327f2bc24fe105b66bd7eed0d99edb5bf96e8;hp=7f455dd606a1f2975df38724bf5d7fd15f51fdb7;hb=0a7d4354288c747883261e9f430a7e0069225a5b;hpb=93027bf060203898f33d1425585303945e58acbd diff --git a/src/odr_cons.c b/src/odr_cons.c index 7f455dd..48c327f 100644 --- a/src/odr_cons.c +++ b/src/odr_cons.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: odr_cons.c,v 1.1 2003-10-27 12:21:33 adam Exp $ + * $Id: odr_cons.c,v 1.2 2004-08-11 12:15:38 adam Exp $ * */ #if HAVE_CONFIG_H @@ -79,7 +79,7 @@ int odr_constructed_begin(ODR o, void *p, int zclass, int tag, else if (o->direction == ODR_PRINT) { odr_prname(o, name); - fprintf(o->print, "{\n"); + odr_printf(o, "{\n"); o->indent++; } else @@ -171,7 +171,7 @@ int odr_constructed_end(ODR o) o->op->stackp--; o->indent--; odr_prname(o, 0); - fprintf(o->print, "}\n"); + odr_printf(o, "}\n"); return 1; default: odr_seterror(o, OOTHER, 38);