Commit a132d14f 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 4777232c
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment