]> git.sur5r.net Git - openldap/commitdiff
Cleanup
authorKurt Zeilenga <kurt@openldap.org>
Sat, 16 Sep 2000 22:46:52 +0000 (22:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 16 Sep 2000 22:46:52 +0000 (22:46 +0000)
servers/slapd/tools/slapadd.c

index ab8f06c01a97e8e00e3b6ea0256cd27cae68fb3f..8bd6b0de523f7ad851f0f235e1457cb51b315cb7 100644 (file)
@@ -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 );
                }