mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 23:54:08 +00:00
fix false positive bug.
This commit is contained in:
parent
15b3b586d6
commit
80b195456f
@ -41,6 +41,7 @@ int dofile(char *file)
|
|||||||
}
|
}
|
||||||
if (!strncmp(&line[i],"IN()",4)) { inoutActive=1; savedActive=1; }
|
if (!strncmp(&line[i],"IN()",4)) { inoutActive=1; savedActive=1; }
|
||||||
if (!strncmp(&line[i],"OUT()",5)) inoutActive=0;
|
if (!strncmp(&line[i],"OUT()",5)) inoutActive=0;
|
||||||
|
if (!strncmp(&line[i],"RETURN(",7)) inoutActive=0;
|
||||||
if (inoutActive&&
|
if (inoutActive&&
|
||||||
(!strncmp(&line[i],"return",6)))
|
(!strncmp(&line[i],"return",6)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user