From c148f55d03280d23d6ae86ad0f61ea689582087e Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 4 Apr 2021 14:50:42 -0700 Subject: [PATCH] Address logically dead code This is so old/bad. CID 33179. --- src/sbbs3/node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/node.c b/src/sbbs3/node.c index 5de4ef2cd1..88da81a16a 100644 --- a/src/sbbs3/node.c +++ b/src/sbbs3/node.c @@ -174,8 +174,8 @@ void getnodedat(int number, node_t *node, int lockit) if(count>=(LOOP_NODEDAB/2)) printf("NODE.DAB (node %d) COLLISION (READ) - Count: %d\n" ,number+1, count); - else if(count==LOOP_NODEDAB) { - printf("!Error reading nodefile for node %d\n",number+1); + if(count>=LOOP_NODEDAB) { + printf("!Error %d reading nodefile for node %d\n", errno, number+1); } } -- GitLab