From: Kurt Zeilenga Date: Sat, 16 Sep 2000 22:46:52 +0000 (+0000) Subject: Cleanup X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1961 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6674a90b042a2bb7610e8c7d88e9750c553b909;p=openldap Cleanup --- diff --git a/servers/slapd/tools/slapadd.c b/servers/slapd/tools/slapadd.c index ab8f06c01a..8bd6b0de52 100644 --- a/servers/slapd/tools/slapadd.c +++ b/servers/slapd/tools/slapadd.c @@ -102,7 +102,6 @@ main( int argc, char **argv ) } id = be->be_entry_put( be, e ); - if( id == NOID ) { fprintf( stderr, "%s: could not add entry dn=\"%s\" (line=%d)\n", progname, e->e_dn, lineno ); @@ -111,7 +110,9 @@ main( int argc, char **argv ) if( continuemode ) continue; break; - } else if ( verbose ) { + } + + if ( verbose ) { fprintf( stderr, "added: \"%s\" (%08lx)\n", e->e_dn, (long) id ); }