X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_any.c;h=939fb74ab38a6435e561cf9d2b98d758df1c23f4;hp=905b0c4c31db3868fbd10e32eac6cc9791aa73d1;hb=5242cb5a8634bfa38b9333ff7f903e718ac6e292;hpb=7b27a8f378d73a86e8ff5e4fa3285117362481c5 diff --git a/src/ber_any.c b/src/ber_any.c index 905b0c4..939fb74 100644 --- a/src/ber_any.c +++ b/src/ber_any.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. */ -/** +/** * \file ber_any.c * \brief Implements BER ANY encoding and decoding. * @@ -21,7 +21,7 @@ int ber_any(ODR o, Odr_any **p) { int res; - + switch (o->direction) { case ODR_DECODE: @@ -49,7 +49,7 @@ int completeBER_n(const unsigned char *buf, int len, int level) { int res, ll, zclass, tag, cons; const unsigned char *b = buf; - + if (level > 1000) { #if BER_ANY_DEBUG @@ -74,7 +74,7 @@ int completeBER_n(const unsigned char *buf, int len, int level) #endif return -1; /* error */ } - if (res == -1) + if (res == -1) { #if BER_ANY_DEBUG yaz_log(YLOG_LOG, "<<<<<<<<< return2 lev=%d res=%d", level, res);