X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_int.c;h=e9b23a2fb0be99d27c347eb7af67352a33fa4cf0;hp=786321edfa6a2ae2a530f0354219bec0938286a3;hb=e4e5f0bfaa1fcb5eb12cc37df216352df226b01e;hpb=ffe862e36b8b60b1197b223cec0b78482cbd7763 diff --git a/src/ber_int.c b/src/ber_int.c index 786321e..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-2010 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;