X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_util.c;h=9a9f4452b6219b4fd27e659223a7e30f13794d0c;hp=a433c3559c359c24a0c7df34a0235170704d3a17;hb=db93359f0cbf9a1e9dc81ea05f7b8662f843ae3d;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/odr_util.c b/src/odr_util.c index a433c35..9a9f445 100644 --- a/src/odr_util.c +++ b/src/odr_util.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: odr_util.c,v 1.8 2005-06-25 15:46:04 adam Exp $ + * $Id: odr_util.c,v 1.10 2007-03-19 21:08:13 adam Exp $ */ /** * \file odr_util.c @@ -21,9 +21,9 @@ void odr_prname(ODR o, const char *name) { if (name) - odr_printf(o, "%*s%s ", o->indent*4, "", name); + odr_printf(o, "%*s%s ", o->op->indent*4, "", name); else - odr_printf(o, "%*s", o->indent*4, ""); + odr_printf(o, "%*s", o->op->indent*4, ""); } int odp_more_chunks(ODR o, const unsigned char *base, int len)