X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fodr_enum.c;h=1b3f81f29dedc7f6d18b6b75e286882f3c640fbf;hp=20e10d9f20ec68474e4c49f0244910c549e4ec5d;hb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;hpb=67002f49611adb64993391b0cbf6c235f18080a4 diff --git a/src/odr_enum.c b/src/odr_enum.c index 20e10d9..1b3f81f 100644 --- a/src/odr_enum.c +++ b/src/odr_enum.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: odr_enum.c,v 1.4 2005-01-15 19:47:14 adam Exp $ + * $Id: odr_enum.c,v 1.5 2005-06-25 15:46:04 adam Exp $ */ /** * \file odr_enum.c @@ -35,7 +35,7 @@ int odr_enum(ODR o, int **p, int opt, const char *name) return odr_missing(o, opt, name); if (o->direction == ODR_PRINT) { - odr_prname(o, name); + odr_prname(o, name); odr_printf(o, "%d\n", **p); return 1; } @@ -48,3 +48,11 @@ int odr_enum(ODR o, int **p, int opt, const char *name) *p = (int *)odr_malloc(o, sizeof(int)); return ber_integer(o, *p); } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +