}
#endif
- rc = slap_init( mode, progname );
+ rc = slap_schema_init();
if ( rc != 0 ) {
- fprintf( stderr, "%s: slap_init failed!\n", progname );
+ fprintf( stderr, "%s: slap_schema_init failed!\n", progname );
exit( EXIT_FAILURE );
}
- rc = slap_schema_init();
+ rc = slap_init( mode, progname );
if ( rc != 0 ) {
- fprintf( stderr, "%s: slap_schema_init failed!\n", progname );
+ fprintf( stderr, "%s: slap_init failed!\n", progname );
exit( EXIT_FAILURE );
}