X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_int.c;h=e9b23a2fb0be99d27c347eb7af67352a33fa4cf0;hp=d642aff1110dc778f449e71db5773a6d293704da;hb=db4394606d431a5070f67299895459d7ed179a4c;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/src/ber_int.c b/src/ber_int.c index d642aff..e9b23a2 100644 --- a/src/ber_int.c +++ b/src/ber_int.c @@ -1,9 +1,9 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ -/** +/** * \file ber_int.c * \brief Implements BER INTEGER encoding and decoding. * @@ -95,7 +95,7 @@ int ber_decinteger(const unsigned char *buf, Odr_int *val, int max) if ((res = ber_declen(b, &len, max)) < 0) return -1; if (len+res > max || len < 0) /* out of bounds or indefinite encoding */ - return -1; + return -1; if (len > (int) sizeof(uval)) /* let's be reasonable, here */ return -1; b += res;