Skip to content
Snippets Groups Projects
Commit 97e8a2a9 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fixes ITS#1398

parent 4d0ab021
Branches
Tags
No related merge requests found
......@@ -401,7 +401,7 @@ ber_bvecadd( struct berval ***bvec, struct berval *bv )
ber_int_options.lbo_valid = LBER_INITIALIZED;
if( bvec == NULL ) {
if( *bvec == NULL ) {
if( bv == NULL ) {
/* nothing to add */
return 0;
......@@ -422,7 +422,7 @@ ber_bvecadd( struct berval ***bvec, struct berval *bv )
BER_MEM_VALID( bvec );
/* count entries */
for ( i = 0; bvec[i] != NULL; i++ ) {
for ( i = 0; (*bvec)[i] != NULL; i++ ) {
/* EMPTY */;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment