* src/main.c (main): [SV 63373] Don't use macros with memcmp()

Reported by djm <mccannd@uk.ibm.com>
This commit is contained in:
Paul Smith 2022-11-16 09:27:53 -05:00
parent 6c1a6dd77c
commit 53b8f6a5da

View file

@ -1503,7 +1503,7 @@ main (int argc, char **argv, char **envp)
/* If this is MAKE_RESTARTS, check to see if the "already printed
the enter statement" flag is set. */
if (len == 13 && memcmp (envp[i], STRING_SIZE_TUPLE ("MAKE_RESTARTS")) == 0)
if (len == 13 && memcmp (envp[i], "MAKE_RESTARTS", CSTRLEN ("MAKE_RESTARTS")) == 0)
{
if (*ep == '-')
{