From a53c184f9e8daad03321102fa8a18ebaa660f870 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 8 Jan 2004 20:02:41 +0000 Subject: [PATCH] Some small fixes --- ChangeLog | 7 ++++++- html/setup/nodes.html | 8 ++++---- mbcico/binkpnew.c | 2 +- mbsetup/m_node.c | 6 +++--- mbtask/ping.c | 4 ++-- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index a945c44c..a0115f99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,7 +30,8 @@ v0.39.5 24-Dec-2003 Fixed a segfault when a session failed. New binkp/1.1 driver, not compiled by default yet. - Changed testing EOB to prevent out-of-sync batches. - + - Changed EOB handling some more. + mbout: Poll, remove poll and request failed to points which had no point directory in the outbound, now the directory is created. @@ -44,6 +45,10 @@ v0.39.5 24-Dec-2003 created by another OS. Added setting in menu 7.x.3.18 to disable the use of binkp/1.1 protocol per node. + Corrected a spelling error (thanks Vince). + + mbtask: + Changed slow ping logmessages from 5 to 10 seconds. script: Fixed NetBSD init script diff --git a/html/setup/nodes.html b/html/setup/nodes.html index 75b01859..ab61a15d 100644 --- a/html/setup/nodes.html +++ b/html/setup/nodes.html @@ -14,7 +14,7 @@
-
Last update 24-Aug-2003
+
Last update 08-Jan-2004

MBSE BBS Setup - Fidonet nodes.

@@ -200,13 +200,13 @@ this node. on command (billing is not yet available). CreditThe credit this node has in units. -DebetThe debet we have with this +DebitThe debit we have with this node (informational). AddAdd (or substract) factor to the bill. -Warn levelThe debet level when to +Warn levelThe debit level when to write a warning mesage. -Stop levelThe debet level when to +Stop levelThe debit level when to stop sending files.

diff --git a/mbcico/binkpnew.c b/mbcico/binkpnew.c index 905b5e1b..a0a2ca33 100644 --- a/mbcico/binkpnew.c +++ b/mbcico/binkpnew.c @@ -1421,7 +1421,7 @@ TrType binkp_transmitter(void) bp.RxState = RxWaitF; Syslog('+', "Binkp: start batch %d", bp.batchnr + 1); binkp_clear_filelist(); - return Continue; + return Ok; /* Continue is not good here, troubles with binkd on slow links. */ } } diff --git a/mbsetup/m_node.c b/mbsetup/m_node.c index f2347aad..0fb9b096 100644 --- a/mbsetup/m_node.c +++ b/mbsetup/m_node.c @@ -449,7 +449,7 @@ void E_Files(void) mvprintw( 8,46, "12. Billing (CSO)"); mvprintw( 9,46, "13. Bill direct"); mvprintw(10,46, "14. Credit"); - mvprintw(11,46, "15. Debet"); + mvprintw(11,46, "15. Debit"); mvprintw(12,46, "16. Add %"); mvprintw(13,46, "17. Warn level"); mvprintw(14,46, "18. Stop level"); @@ -491,7 +491,7 @@ void E_Files(void) case 12:E_BOOL( 8,66, nodes.Billing, "Send ^bills^ to this node, Costsharing is active") case 13:E_BOOL( 9,66, nodes.BillDirect, "Send bills ^direct^ after file processing") case 14:E_INT( 10,66, nodes.Credit, "The ^credit^ this node has for costsharing") - case 15:E_INT( 11,66, nodes.Debet, "The ^debet^ in cents we have credit from this node") + case 15:E_INT( 11,66, nodes.Debet, "The ^debit^ in cents we have credit from this node") case 16:E_INT( 12,66, nodes.AddPerc, "The + or - ^promille^ factor for this node") case 17:E_INT( 13,66, nodes.WarnLevel, "Credit level in cents to ^Warn^ node for low credit") case 18:E_INT( 14,66, nodes.StopLevel, "Credit level in cents to ^Stop^ sending files") @@ -1538,7 +1538,7 @@ int node_doc(FILE *fp, FILE *toc, int page) if (nodes.Billing) { fprintf(fp, " Credit units %-8ld Warnlevel %ld\n", nodes.Credit, nodes.WarnLevel); - fprintf(fp, " Debet units %-8ld Stoplevel %ld\n", nodes.Debet, nodes.StopLevel); + fprintf(fp, " Debit units %-8ld Stoplevel %ld\n", nodes.Debet, nodes.StopLevel); fprintf(fp, " Add promille %ld\n\n", nodes.AddPerc); } fprintf(fp, " File groups:\n "); diff --git a/mbtask/ping.c b/mbtask/ping.c index 23340ae2..978dfeba 100644 --- a/mbtask/ping.c +++ b/mbtask/ping.c @@ -4,7 +4,7 @@ * Purpose ...............: mbtask - ping functions * ***************************************************************************** - * Copyright (C) 1997-2003 + * Copyright (C) 1997-2004 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -405,7 +405,7 @@ void *ping_thread(void) * Reply received. */ rc = time(NULL) - pingsend; - if (rc > 5) + if (rc > 10) Syslog('+', "Ping: slow reply after %d seconds", rc); pingresult[pingnr] = TRUE; now = time(NULL) + 20 - rc;