From f6d688ae469ebf296b5fe6748e9b77be902e81da Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 26 May 2003 13:47:23 +0000 Subject: [PATCH] Use odr_getelement instead of odr_getaddinfo --- odr/tstodr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 1.7.10.4