Index: head/www/mohawk/files/patch-main.c =================================================================== --- head/www/mohawk/files/patch-main.c (nonexistent) +++ head/www/mohawk/files/patch-main.c (revision 529863) @@ -0,0 +1,29 @@ +main.c:387:2: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] + if (network->not) + ^ + +--- main.c.orig 2020-03-22 05:37:24 UTC ++++ main.c +@@ -384,9 +384,7 @@ access_granted_inet(struct addrinfo *ai, struct mohawk + if ((sa->sin_addr.s_addr & network->mask) != network->prefix) + return -1; + +- if (network->not) +- return 0; +- return 1; ++ return !network->not; + } + + static inline int +@@ -400,9 +398,8 @@ access_granted_inet6(struct addrinfo *ai, struct mohaw + if ((sa6->sin6_addr.s6_addr[i] & network->mask[i]) != network->prefix[i]) + return -1; + } +- if (network->not) +- return 0; +- return 1; ++ ++ return !network->not; + } + + Property changes on: head/www/mohawk/files/patch-main.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property