X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Ftstodr.c;h=ead978d5e62fcb1b70b45c0fd6f31365925cbc67;hb=29a22396d7d7b1219f5b83c35983c8fb1cd79e8f;hp=11aa4c973ae5b3c73303523135d1112bf2dfce45;hpb=4157c704e5b89d5cba0cb39937c6d4c697f3b0b0;p=yaz-moved-to-github.git 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); }