Fixed noderecord load test

This commit is contained in:
Michiel Broek 2002-02-23 16:14:26 +00:00
parent 22c8c978fb
commit 0f7a8101f8

View File

@ -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);