summaryrefslogtreecommitdiff
path: root/news/husky/files/patch-fidoconf_src_line.c
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-03-08 19:09:14 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-03-08 19:09:14 +0000
commit6f04c0dc2ae1fe345dc8829d39b2f634a2e930c7 (patch)
tree6355357625a3dbbbe3859167f91143fbf18a5434 /news/husky/files/patch-fidoconf_src_line.c
parentemulators/fs-uae: Update to 3.0.2 (diff)
news/husky*: Update ports to latest versions
PR: 243030 Submitted by: Oleg Sharoyko <osharoiko@gmail.com> (maintainer) Reported by: Ruslan Suleimanov <rs@paket.ua>
Diffstat (limited to 'news/husky/files/patch-fidoconf_src_line.c')
-rw-r--r--news/husky/files/patch-fidoconf_src_line.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/husky/files/patch-fidoconf_src_line.c b/news/husky/files/patch-fidoconf_src_line.c
new file mode 100644
index 000000000000..594de58f900a
--- /dev/null
+++ b/news/husky/files/patch-fidoconf_src_line.c
@@ -0,0 +1,20 @@
+--- fidoconf/src/line.c.orig 2020-01-16 21:50:04 UTC
++++ fidoconf/src/line.c
+@@ -3036,7 +3036,7 @@ int parseCarbonDelete(char *token, s_fidoconfig *confi
+ break; /* this was the end of a previous set expressions */
+ if(cb->move==CC_delete) /* delete */
+ break;
+- if(!cb->rule&CC_AND) /* OR */
++ if(!(cb->rule&CC_AND)) /* OR */
+ cb->move=CC_delete;
+ }
+ return 0;
+@@ -3086,7 +3086,7 @@ int parseCarbonExtern(char *token, s_fidoconfig *confi
+ break; /* this was the end of a previous set expressions */
+ if(cb->move==CC_delete) /* delete */
+ break;
+- if(!cb->rule&CC_AND){ /* OR */
++ if(!(cb->rule&CC_AND)){ /* OR */
+ fc_copyString(token, &(cb->areaName));
+ cb->extspawn=1;
+ cb->move=CC_copy;