Final changes for seenby lines with local hatches
This commit is contained in:
@@ -328,7 +328,6 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
|
||||
WriteError("$Can't create %s", fname);
|
||||
}
|
||||
}
|
||||
Syslog('p', "Forward almost done");
|
||||
fsync(fileno(fl));
|
||||
fclose(fl);
|
||||
|
||||
@@ -344,7 +343,6 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
|
||||
free(queuedir);
|
||||
free(listfile);
|
||||
tidy_faddr(routeto);
|
||||
Syslog('p', "Forward really done");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -774,20 +774,14 @@ int ProcessTic(fa_list *sbl)
|
||||
while (GetTicSystem(&Link, First)) {
|
||||
First = FALSE;
|
||||
if ((Link.aka.zone) && (Link.sendto) && (!Link.pause)) {
|
||||
Syslog('p', "Forward loop to %s", aka2str(Link.aka));
|
||||
if (!((TIC.Aka.zone == Link.aka.zone) && (TIC.Aka.net == Link.aka.net) &&
|
||||
(TIC.Aka.node == Link.aka.node) && (TIC.Aka.point == Link.aka.point))) {
|
||||
Syslog('p', "Will send");
|
||||
tic_out++;
|
||||
ForwardFile(Link.aka, sbl);
|
||||
Syslog('p', "Did send");
|
||||
} else {
|
||||
Syslog('p', "Will not send");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Syslog('p', "Forwarding to all nodes done");
|
||||
|
||||
Magic_ExecCommand();
|
||||
Magic_CopyFile();
|
||||
@@ -798,7 +792,6 @@ int ProcessTic(fa_list *sbl)
|
||||
|
||||
unlink(Temp);
|
||||
free(Temp);
|
||||
Syslog('p', "ptic() done");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user