mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
use strcpy instead of sprintf when all we have is two args (source and dest)
This commit is contained in:
parent
50a41f3ee2
commit
4319e67736
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,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…
Reference in a new issue