From 5c0ab3b37c1a314f3f790973bd13981c691fcf3e Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 11 Apr 2002 21:25:03 +0000 Subject: [PATCH] Removed some debug logging --- mbcico/binkp.c | 17 ++--------------- mbcico/opentcp.c | 2 -- mbfido/tic.c | 3 +-- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 805bbd62..99cc05b5 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -116,15 +116,7 @@ int binkp(int role) return rc; } - if (role) { -// if (localoptions & NOHOLD) - nonhold_mail = (char *)ALL_MAIL; -// else -// nonhold_mail = (char *)NONHOLD_MAIL; - } else { - nonhold_mail = (char *)ALL_MAIL; - } - + nonhold_mail = (char *)ALL_MAIL; eff_remote = remote; /* * If remote doesn't have the 8.3 flag set, allow long filenames. @@ -304,7 +296,6 @@ to: void binkp_settimer(int interval) { - Syslog('B', "Set timer %d", interval); Timer = time((time_t*)NULL) + interval; } @@ -317,7 +308,7 @@ int binkp_expired(void) now = time(NULL); if (now >= Timer) - Syslog('b', "Timer expired"); + Syslog('+', "Binkp: timeout"); return (now >= Timer); } @@ -455,10 +446,8 @@ SM_STATE(sendpass) if (strlen(nodes.Epasswd)) { SendPass = TRUE; binkp_send_control(MM_PWD, "%s", nodes.Epasswd); - Syslog('-', "Password from setup sent"); } else { binkp_send_control(MM_PWD, "-"); - Syslog('-', "Blank password - sent"); } SM_PROCEED(waitaddr) @@ -724,7 +713,6 @@ SM_STATE(waitpwd) } SM_STATE(pwdack) - Syslog('-', "pwdack '%s' Loaded=%s strlen(nodes.Epasswd)=%d", &rbuf[1], Loaded?"true":"false", strlen(nodes.Epasswd)); if ((strcmp(&rbuf[1], "-") == 0) && !Loaded) { Syslog('+', "Node not in setup, unprotected BINKP session"); binkp_send_control(MM_OK, ""); @@ -1039,7 +1027,6 @@ int binkp_batch(file_list *to_send) NotDone = TRUE; break; } - Syslog('B', "NotDone=%s", NotDone ? "True" : "False"); if (tmp == NULL) { TxState = TxDone; binkp_send_control(MM_EOB, ""); diff --git a/mbcico/opentcp.c b/mbcico/opentcp.c index 32b1cec1..6d23578f 100644 --- a/mbcico/opentcp.c +++ b/mbcico/opentcp.c @@ -216,14 +216,12 @@ void closetcp(void) if ((fph = fopen(tmp, "a")) == NULL) WriteError("$Can't open %s", tmp); else { - Syslog('s', "closetcp() write history"); fwrite(&history, sizeof(history), 1, fph); fclose(fph); } free(tmp); memset(&history, 0, sizeof(history)); if (Loaded) { - Syslog('s', "Updateing noderecord %s", aka2str(nodes.Aka[0])); nodes.LastDate = time(NULL); UpdateNode(); } diff --git a/mbfido/tic.c b/mbfido/tic.c index 3a02434a..715b69c3 100644 --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -205,7 +205,7 @@ int LoadTic(char *inb, char *tfn) Temp[255] = '\0'; } - Syslog('f', "TIC: %s", Temp); +// Syslog('f', "TIC: %s", Temp); if (strncasecmp(Temp, "hatch", 5) == 0) { TIC.TicIn.Hatch = TRUE; @@ -229,7 +229,6 @@ int LoadTic(char *inb, char *tfn) } else if (strncasecmp(Temp, "fullname ", 9) == 0) { strncpy(TIC.TicIn.FullName, Temp+9, 80); - Syslog('f', "Long filename: %s", TIC.TicIn.FullName); } else if (strncasecmp(Temp, "created ", 8) == 0) { strncpy(TIC.TicIn.Created, Temp+8, 80);