From 0cf3b31e13a3461f118a5517014763cb58dfb9b5 Mon Sep 17 00:00:00 2001
From: Frederik B <freddyb@users.noreply.github.com>
Date: Sun, 4 Dec 2016 22:08:45 +0100
Subject: [PATCH] fix missing parens on logical not (GCC warning)

---
 fanout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fanout.c b/fanout.c
index f108f7b..8f7401f 100644
--- a/fanout.c
+++ b/fanout.c
@@ -317,7 +317,7 @@ xit\n");
         exit (EXIT_FAILURE);
     }
 
-    if ( ! portno > 0) {
+    if ( ! (portno > 0)) {
         fanout_debug (0, "ERROR invalid port\n");
         exit (EXIT_FAILURE);
     }
-- 
GitLab