Cleanup - enable config, delete unused code

This commit is contained in:
Howard Chu 2004-11-29 10:27:38 +00:00
parent 6c3715aff9
commit ef2df3e398

View File

@ -1593,7 +1593,6 @@ syncprov_db_config(
slap_overinst *on = (slap_overinst *)be->bd_info; slap_overinst *on = (slap_overinst *)be->bd_info;
syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private; syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private;
#if 0
if ( strcasecmp( argv[ 0 ], "syncprov-checkpoint" ) == 0 ) { if ( strcasecmp( argv[ 0 ], "syncprov-checkpoint" ) == 0 ) {
if ( argc != 3 ) { if ( argc != 3 ) {
fprintf( stderr, "%s: line %d: wrong number of arguments in " fprintf( stderr, "%s: line %d: wrong number of arguments in "
@ -1602,11 +1601,9 @@ syncprov_db_config(
} }
si->si_chkops = atoi( argv[1] ); si->si_chkops = atoi( argv[1] );
si->si_chktime = atoi( argv[2] ) * 60; si->si_chktime = atoi( argv[2] ) * 60;
return 0;
} else {
return SLAP_CONF_UNKNOWN;
} }
#endif
return SLAP_CONF_UNKNOWN; return SLAP_CONF_UNKNOWN;
} }
@ -1890,10 +1887,6 @@ syncprov_init()
syncprov.on_bi.bi_extended = syncprov_op_extended; syncprov.on_bi.bi_extended = syncprov_op_extended;
syncprov.on_bi.bi_operational = syncprov_operational; syncprov.on_bi.bi_operational = syncprov_operational;
#if 0
syncprov.on_response = syncprov_response;
#endif
return overlay_register( &syncprov ); return overlay_register( &syncprov );
} }