fix format; silence warning

This commit is contained in:
Pierangelo Masarati 2006-10-15 18:01:27 +00:00
parent cbf05fd777
commit c0be820648

View File

@ -2489,7 +2489,7 @@ loglevel_print( FILE *out )
fprintf( out, "Installed log subsystems:\n\n" ); fprintf( out, "Installed log subsystems:\n\n" );
for ( i = 0; !BER_BVISNULL( &loglevel_ops[ i ].word ); i++ ) { for ( i = 0; !BER_BVISNULL( &loglevel_ops[ i ].word ); i++ ) {
fprintf( out, "\t%-30s (%d)\n", fprintf( out, "\t%-30s (%lu)\n",
loglevel_ops[ i ].word.bv_val, loglevel_ops[ i ].word.bv_val,
loglevel_ops[ i ].mask ); loglevel_ops[ i ].mask );
} }
@ -2640,7 +2640,7 @@ config_security(ConfigArgs *c) {
} }
for(i = 1; i < c->argc; i++) { for(i = 1; i < c->argc; i++) {
slap_ssf_t *tgt = NULL; slap_ssf_t *tgt = NULL;
char *src; char *src = NULL;
for ( j=0; !BER_BVISNULL( &sec_keys[j].key ); j++ ) { for ( j=0; !BER_BVISNULL( &sec_keys[j].key ); j++ ) {
if(!strncasecmp(c->argv[i], sec_keys[j].key.bv_val, if(!strncasecmp(c->argv[i], sec_keys[j].key.bv_val,
sec_keys[j].key.bv_len)) { sec_keys[j].key.bv_len)) {