Commit cf61976a authored by rswindell's avatar rswindell

Added node number to collision warning message.

parent d4f3de39
......@@ -83,7 +83,8 @@ int sbbs_t::getnodedat(uint number, node_t *node, bool lockit)
}
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);
}
else if(count==LOOP_NODEDAB) {
......@@ -269,7 +270,8 @@ int sbbs_t::getnodeext(uint number, char *ext)
node_ext=-1;
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);
}
else if(count==LOOP_NODEDAB) {
......
......@@ -187,7 +187,8 @@ void getnodedat(uchar number, node_t *node, char lockit)
break;
}
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) {
printf("!Error reading nodefile for node %d\n",number+1);
}
......
......@@ -142,7 +142,8 @@ int sbbs_t::putnodeext(uint number, char *ext)
node_ext=-1;
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);
}
if(count==LOOP_NODEDAB) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment