From: Pierangelo Masarati Date: Mon, 18 Dec 2006 08:21:06 +0000 (+0000) Subject: (blind) fix type format X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~343 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b49d50e92d50da529ed4730d8b98af4a112b125;p=openldap (blind) fix type format --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 608400c3c0..1275c95432 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -453,7 +453,7 @@ process_ldif_rec( char *rbuf, int linenum ) continue; } - if ( rc = ldif_parse_line2( line, btype+i, vals+i, &freev ) < 0 ) { + if ( ( rc = ldif_parse_line2( line, btype+i, vals+i, &freev ) ) < 0 ) { fprintf( stderr, _("%s: invalid format (line %d) entry: \"%s\"\n"), prog, linenum+i, dn == NULL ? "" : dn ); rc = LDAP_PARAM_ERROR; @@ -685,7 +685,7 @@ short_input: fprintf( stderr, _("%s: attributeDescription \"%s\":" " (possible missing newline" " after line %d, entry \"%s\"?)\n"), - prog, btype+i, linenum+i - 1, dn ); + prog, btype[i].bv_val, linenum+i - 1, dn ); } if ( BVICMP(btype+i,&bv)) { bvl[k++] = NULL;