Don't add files to send anymore when batchnr > 20 to prevent an infinite session loop

This commit is contained in:
Michiel Broek
2005-12-31 12:24:13 +00:00
parent 3bf22605a8
commit fdc2e42a0c
2 changed files with 5 additions and 1 deletions

View File

@@ -1456,7 +1456,7 @@ TrType binkp_transmitter(void)
* This one is special for binkp behaviour.
*/
for (tsl = tosend; tsl; tsl = tsl->next) {
if (tsl->remote != NULL)
if ((tsl->remote != NULL) && (bp.batchnr < 20))
fill_binkp_list(&bll, tsl, 0L);
}