From 8b49d50e92d50da529ed4730d8b98af4a112b125 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 18 Dec 2006 08:21:06 +0000 Subject: [PATCH] (blind) fix type format --- clients/tools/ldapmodify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5