projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate built-in OIDs from oid.csv.
[yaz-moved-to-github.git]
/
src
/
ber_int.c
diff --git
a/src/ber_int.c
b/src/ber_int.c
index
84e560b
..
f9a61ae
100644
(file)
--- 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.
*
* 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;
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;
}
return 0;
}
@@
-111,9
+108,6
@@
int ber_decinteger(const unsigned char *buf, int *val, int max)
*val = ntohl(tmp.i);
b += len;
*val = ntohl(tmp.i);
b += len;
-#ifdef ODR_DEBUG
- fprintf(stderr, "[val=%d]", *val);
-#endif
return b - buf;
}
/*
return b - buf;
}
/*