Skip to content
Snippets Groups Projects
Commit 4319e677 authored by Ben Collins's avatar Ben Collins
Browse files

use strcpy instead of sprintf when all we have is two args (source and dest)

parent 50a41f3e
Branches
Tags
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment