--- libraries/liblber/decode.c 2003/03/12 01:33:53 1.92 +++ libraries/liblber/decode.c 2003/03/12 02:23:09 1.93 @@ -1,5 +1,5 @@ /* decode.c - ber input decoding routines */ -/* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.91 2003/03/04 08:16:57 ando Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.92 2003/03/12 01:33:53 hyc Exp $ */ /* * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file @@ -315,6 +315,7 @@ ber_get_stringbvl( bgbvr *b, ber_len_t * char *last, *orig; struct berval bv, *bvp = NULL; + /* For rewinding, just like ber_peek_tag() */ orig = b->ber->ber_ptr; tag = b->ber->ber_tag;