From: Adam Dickmeiss Date: Mon, 26 May 2003 13:47:23 +0000 (+0000) Subject: Use odr_getelement instead of odr_getaddinfo X-Git-Tag: YAZ.2.0.3~37 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=f6d688ae469ebf296b5fe6748e9b77be902e81da Use odr_getelement instead of odr_getaddinfo --- diff --git a/odr/tstodr.c b/odr/tstodr.c index 11aa4c9..ead978d 100644 --- a/odr/tstodr.c +++ b/odr/tstodr.c @@ -2,7 +2,7 @@ * 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 @@ -68,13 +68,13 @@ void tst_MySequence2(ODR encode, ODR decode) 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); - if (strcmp(odr_getaddinfo(encode), "")) + if (strcmp(odr_getelement(encode), "")) exit(13); }