X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_util.c;fp=src%2Fodr_util.c;h=9a9f4452b6219b4fd27e659223a7e30f13794d0c;hp=370132f907b0c0734010964942bdbecc4c22c209;hb=db93359f0cbf9a1e9dc81ea05f7b8662f843ae3d;hpb=72da3f05a07602494a978c266f473bb0b4c7841f diff --git a/src/odr_util.c b/src/odr_util.c index 370132f..9a9f445 100644 --- a/src/odr_util.c +++ b/src/odr_util.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: odr_util.c,v 1.9 2007-01-03 08:42:15 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)