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

@ -6,6 +6,10 @@ v0.83.6 17-Dec-2005
Removed gated SB debug logmessages.
Removed debug messages for obsolete ticfiles.
mbcico:
Don't add files to send anymore when batchnr > 20 to prevent
and infinite session loop.
mbfile:
Fixed a crash when files.bbs had empty lines.

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