X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_int.c;h=f9a61ae6b239be6f3d4b65897a8b3bfab18b5562;hp=84e560bdc820bc46b4f7565bc41f62ef38e7d65b;hb=db93359f0cbf9a1e9dc81ea05f7b8662f843ae3d;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/ber_int.c b/src/ber_int.c index 84e560b..f9a61ae 100644 --- a/src/ber_int.c +++ b/src/ber_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: ber_int.c,v 1.5 2005-06-25 15:46:03 adam Exp $ + * $Id: ber_int.c,v 1.7 2007-01-03 08:42:15 adam Exp $ */ /** @@ -77,9 +77,6 @@ int ber_encinteger(ODR o, int val) return -1; if (odr_write(o, (unsigned char*) tmp.c + a, len) < 0) return -1; -#ifdef ODR_DEBUG - fprintf(stderr, "[val=%d]", val); -#endif return 0; } @@ -111,9 +108,6 @@ int ber_decinteger(const unsigned char *buf, int *val, int max) *val = ntohl(tmp.i); b += len; -#ifdef ODR_DEBUG - fprintf(stderr, "[val=%d]", *val); -#endif return b - buf; } /*