Skip to content
Snippets Groups Projects
Commit cd734a0f authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Import ITS#1398 fix from HEAD

parent f939f201
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment