Fixed noderecord load test
This commit is contained in:
parent
22c8c978fb
commit
0f7a8101f8
@ -76,8 +76,8 @@ int load_node(fidoaddr n)
|
|||||||
fseek(fp, nodeshdr.filegrp + nodeshdr.mailgrp, SEEK_CUR);
|
fseek(fp, nodeshdr.filegrp + nodeshdr.mailgrp, SEEK_CUR);
|
||||||
j++;
|
j++;
|
||||||
for (i = 0; i < 20; i++) {
|
for (i = 0; i < 20; i++) {
|
||||||
if ((n.zone == nodes.Aka[i].zone) || (n.net == nodes.Aka[i].net) ||
|
if ((n.zone == nodes.Aka[i].zone) && (n.net == nodes.Aka[i].net) &&
|
||||||
(n.node == nodes.Aka[i].node) || (n.point == nodes.Aka[i].point)) {
|
(n.node == nodes.Aka[i].node) && (n.point == nodes.Aka[i].point)) {
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
free(temp);
|
free(temp);
|
||||||
tasklog('-' , "Node record %d, aka nr %d", j, i+1);
|
tasklog('-' , "Node record %d, aka nr %d", j, i+1);
|
||||||
|
Reference in New Issue
Block a user