X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_bool.c;h=a3d05711b80dd18db1accbd25bf42e281a7785d6;hp=b813ff15efe1d14057de09d1532be7516057a382;hb=1b814737d1572a6fc4bec2a3d120d6954d12bdb1;hpb=05c274ef315384faafcc5900c17468f0ea2474e6 diff --git a/src/ber_bool.c b/src/ber_bool.c index b813ff1..a3d0571 100644 --- a/src/ber_bool.c +++ b/src/ber_bool.c @@ -1,8 +1,6 @@ -/* - * Copyright (c) 1995-2004, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: ber_bool.c,v 1.2 2004-10-15 00:18:59 adam Exp $ */ /** @@ -31,9 +29,6 @@ int ber_boolean(ODR o, int *val) return 0; if (odr_putc(o, *val) < 0) return 0; -#ifdef ODR_DEBUG - fprintf(stderr, "[val=%d]\n", *val); -#endif return 1; case ODR_DECODE: if ((res = ber_declen(o->bp, &len, odr_max(o))) < 0) @@ -49,12 +44,18 @@ int ber_boolean(ODR o, int *val) } *val = *o->bp; o->bp++; -#ifdef ODR_DEBUG - fprintf(stderr, "[val=%d]\n", *val); -#endif return 1; case ODR_PRINT: return 1; default: odr_seterror(o, OOTHER, 11); return 0; } } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +