Skip to content
Snippets Groups Projects
Commit cf61976a authored by rswindell's avatar rswindell
Browse files

Added node number to collision warning message.

parent d4f3de39
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,8 @@ int sbbs_t::getnodedat(uint number, node_t *node, bool lockit) ...@@ -83,7 +83,8 @@ int sbbs_t::getnodedat(uint number, node_t *node, bool lockit)
} }
if(count>(LOOP_NODEDAB/2) && count!=LOOP_NODEDAB) { if(count>(LOOP_NODEDAB/2) && count!=LOOP_NODEDAB) {
sprintf(str,"NODE.DAB COLLISION - Count: %d",count); sprintf(str,"NODE.DAB (node %d) COLLISION - Count: %d"
,number+1, count);
logline("!!",str); logline("!!",str);
} }
else if(count==LOOP_NODEDAB) { else if(count==LOOP_NODEDAB) {
...@@ -269,7 +270,8 @@ int sbbs_t::getnodeext(uint number, char *ext) ...@@ -269,7 +270,8 @@ int sbbs_t::getnodeext(uint number, char *ext)
node_ext=-1; node_ext=-1;
if(count>(LOOP_NODEDAB/2) && count!=LOOP_NODEDAB) { if(count>(LOOP_NODEDAB/2) && count!=LOOP_NODEDAB) {
sprintf(str,"NODE.EXB COLLISION - Count: %d",count); sprintf(str,"NODE.EXB (node %d) COLLISION - Count: %d"
,number+1, count);
logline("!!",str); logline("!!",str);
} }
else if(count==LOOP_NODEDAB) { else if(count==LOOP_NODEDAB) {
......
...@@ -187,7 +187,8 @@ void getnodedat(uchar number, node_t *node, char lockit) ...@@ -187,7 +187,8 @@ void getnodedat(uchar number, node_t *node, char lockit)
break; break;
} }
if(count>=(LOOP_NODEDAB/2)) if(count>=(LOOP_NODEDAB/2))
printf("NODE.DAB COLLISION (READ) - Count: %d\n",count); printf("NODE.DAB (node %d) COLLISION (READ) - Count: %d\n"
,number+1, count);
else if(count==LOOP_NODEDAB) { else if(count==LOOP_NODEDAB) {
printf("!Error reading nodefile for node %d\n",number+1); printf("!Error reading nodefile for node %d\n",number+1);
} }
......
...@@ -142,7 +142,8 @@ int sbbs_t::putnodeext(uint number, char *ext) ...@@ -142,7 +142,8 @@ int sbbs_t::putnodeext(uint number, char *ext)
node_ext=-1; node_ext=-1;
if(count>(LOOP_NODEDAB/2) && count!=LOOP_NODEDAB) { if(count>(LOOP_NODEDAB/2) && count!=LOOP_NODEDAB) {
sprintf(str,"NODE.EXB COLLISION - Count: %d",count); sprintf(str,"NODE.EXB (node %d) COLLISION - Count: %d"
,number+1, count);
logline("!!",str); logline("!!",str);
} }
if(count==LOOP_NODEDAB) { if(count==LOOP_NODEDAB) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment