From 4319e67736dcb2f0f4acb88dbb65ceb2978862fe Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Mon, 24 Apr 2000 16:44:16 +0000 Subject: [PATCH] use strcpy instead of sprintf when all we have is two args (source and dest) --- servers/slurpd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slurpd/config.c b/servers/slurpd/config.c index fb226022ed..1df6123240 100644 --- a/servers/slurpd/config.c +++ b/servers/slurpd/config.c @@ -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 ); -- 2.39.5