--- libraries/liblber/decode.c 2002/01/12 01:23:04 1.83 +++ libraries/liblber/decode.c 2002/01/14 00:43:18 1.84 @@ -1,5 +1,5 @@ /* decode.c - ber input decoding routines */ -/* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.82 2002/01/07 20:48:17 kurt Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.83 2002/01/12 01:23:04 hyc Exp $ */ /* * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file @@ -309,7 +309,7 @@ typedef struct bgbvr { ber_len_t off; union { char ***c; - BVarray *ba; + BerVarray *ba; struct berval ***bv; } res; } bgbvr; @@ -395,7 +395,7 @@ ber_get_stringbvr( bgbvr *b, int n ) *bvp = bv; break; case BvOff: - *(BVarray)((long)(*b->res.ba)+n*b->siz+b->off) = bv; + *(BerVarray)((long)(*b->res.ba)+n*b->siz+b->off) = bv; } } else { /* Failure will propagate up and free in reverse @@ -884,7 +884,7 @@ ber_scanf ( BerElement *ber, case 'v': /* sequence of strings */ case 'V': /* sequence of strings + lengths */ - case 'W': /* BVarray */ + case 'W': /* BerVarray */ case 'm': /* berval in-place */ case 'M': /* BVoff array in-place */ case 'n': /* null */