diff options
Diffstat (limited to 'server/mpm/netware/mpm_netware.c')
-rw-r--r-- | server/mpm/netware/mpm_netware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index a71b6e33fe..482509737b 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -1197,7 +1197,7 @@ static int CommandLineInterpreter(scr_t screenID, const char *commandLine) if (strlen(commandLine) <= strlen(szCommand)) return NOTMYCOMMAND; - strncpy (szcommandLine, commandLine, sizeof(szcommandLine)-1); + apr_cpystrn(szcommandLine, commandLine, sizeof(szcommandLine)); /* All added commands begin with "APACHE2 " */ |