From bd687f7ab43028d3722984a6bcf48115bb82d9bb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 May 1998 17:08:11 +0000 Subject: Update. * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly. --- iconv/gconv_db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'iconv') diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c index 503c5d0c86..b98cc8f4f2 100644 --- a/iconv/gconv_db.c +++ b/iconv/gconv_db.c @@ -102,15 +102,15 @@ derivation_lookup (const char *fromset, const char *toset, struct gconv_step **handle, size_t *nsteps) { struct known_derivation key = { fromset, toset, NULL, 0 }; - struct known_derivation *result; + struct known_derivation **result; result = __tfind (&key, &known_derivations, derivation_compare); if (result == NULL) return GCONV_NOCONV; - *handle = result->steps; - *nsteps = result->nsteps; + *handle = (*result)->steps; + *nsteps = (*result)->nsteps; /* Please note that we return GCONV_OK even if the last search for this transformation was unsuccessful. */ -- cgit v1.2.3