X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fodr_int.c;h=cb9645f7d1c289c41193c9e9ea3075bf2d175106;hb=192b23c3eecf2d125bde6b17e2178a30e5003887;hp=c7c7169068bbebb749c028aa1c2d3ca35792a6a9;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/src/odr_int.c b/src/odr_int.c index c7c7169..cb9645f 100644 --- a/src/odr_int.c +++ b/src/odr_int.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_int.c,v 1.4 2005-01-15 19:47:14 adam Exp $ + * $Id: odr_int.c,v 1.6 2007-01-03 08:42:15 adam Exp $ */ /** * \file odr_int.c @@ -35,7 +35,7 @@ int odr_integer(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_integer(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 + */ +