A few small fixes

This commit is contained in:
Michiel Broek
2002-04-30 11:20:43 +00:00
parent 8fc62cee02
commit b24fe1e190
4 changed files with 20 additions and 6 deletions

View File

@@ -339,7 +339,16 @@ int CheckTicGroup(char *Area, int SendUplink, faddr *f)
memset(&System, 0, sizeof(System));
System.aka = fgroup.UpLink;
System.receivefrom = TRUE;
if (flow && !strcmp(flow, "*&"))
/*
* Areas direction HQ's go the other way
*/
System.sendto = TRUE;
else
/*
* Normal distribution areas.
*/
System.receivefrom = TRUE;
fwrite(&System, sizeof(System), 1, mp);
memset(&System, 0, sizeof(System));
for (i = 1; i < (tichdr.syssize / sizeof(System)); i++)