mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
use strcpy instead of sprintf when all we have is two args (source and dest)
This commit is contained in:
parent
4777232c83
commit
a132d14fa7
@ -103,7 +103,7 @@ slurpd_read_config(
|
||||
lineno, cargv[1] );
|
||||
fprintf( stderr, "line (ignored)\n" );
|
||||
}
|
||||
sprintf( sglob->slapd_replogfile, cargv[1] );
|
||||
strcpy( sglob->slapd_replogfile, cargv[1] );
|
||||
}
|
||||
} else if ( strcasecmp( cargv[0], "replica" ) == 0 ) {
|
||||
add_replica( cargv, cargc );
|
||||
|
Loading…
x
Reference in New Issue
Block a user