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
Document -x and -k
[yaz-moved-to-github.git]
/
odr
/
tstodr.c
diff --git
a/odr/tstodr.c
b/odr/tstodr.c
index
11aa4c9
..
ead978d
100644
(file)
--- a/
odr/tstodr.c
+++ b/
odr/tstodr.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: tstodr.c,v 1.4 2003-05-20 20:21:34 adam Exp $
+ * $Id: tstodr.c,v 1.5 2003-05-26 13:47:23 adam Exp $
*
*/
#include <stdio.h>
*
*/
#include <stdio.h>
@@
-68,13
+68,13
@@
void tst_MySequence2(ODR encode, ODR decode)
exit(9);
if (odr_geterror(encode) != OREQUIRED)
exit(10);
exit(9);
if (odr_geterror(encode) != OREQUIRED)
exit(10);
- if (strcmp(odr_getaddinfo(encode), "first"))
+ if (strcmp(odr_getelement(encode), "first"))
exit(11);
odr_reset(encode);
if (odr_geterror(encode) != ONONE)
exit(12);
exit(11);
odr_reset(encode);
if (odr_geterror(encode) != ONONE)
exit(12);
- if (strcmp(odr_getaddinfo(encode), ""))
+ if (strcmp(odr_getelement(encode), ""))
exit(13);
}
exit(13);
}