ports/security/barnyard2/files/patch-parser.c
Muhammad Moinur Rahman a1ac8c3892 security/barnyard2: fix compile with ooption BRO
PR:		231265
Submitted by:	freebsd@onyphe.io
2019-01-22 14:57:27 +00:00

11 lines
310 B
C

--- src/parser.c.orig 2018-10-06 12:48:05 UTC
+++ src/parser.c
@@ -2322,7 +2322,7 @@ int SigSuppressAddElement(SigSuppress_li
{
memset(&comp_set,'\0',(sizeof(u_int8_t)*4));
- if( (cNode->gid == sElement->gid))
+ if (cNode->gid == sElement->gid)
{
switch(sElement->ss_type)
{