From fdc2e42a0c606e12b8c7136ec3e5af36a9c99967 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 31 Dec 2005 12:24:13 +0000 Subject: [PATCH] Don't add files to send anymore when batchnr > 20 to prevent an infinite session loop --- ChangeLog | 4 ++++ mbcico/binkp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9ef33792..990e31e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/mbcico/binkp.c b/mbcico/binkp.c index e8792712..66490d84 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -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); }