ports/security/barnyard2/files/patch-spooler.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
315 B
C

--- src/spooler.c.orig 2018-10-06 11:56:32 UTC
+++ src/spooler.c
@@ -1042,7 +1042,7 @@ int spoolerOpenWaldo(Waldo *waldo, uint8
}
/* check that a waldo file has been specified */
- if ( waldo->filepath == NULL )
+ if ( waldo->filepath[0] == '\0' )
{
return WALDO_FILE_EEXIST;
}