From 4956f69f79d30cb899ac8f42c36aaf9395db40e9 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 13 Aug 2004 18:37:33 +0000 Subject: [PATCH] Removed some debug logging --- ChangeLog | 6 ++++++ lib/nodelist.c | 8 ++++---- mbcico/binkp.c | 4 ++-- mbcico/filelist.c | 1 - mbcico/openport.c | 9 --------- 5 files changed, 12 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 74e01db3..1d295335 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,12 @@ v0.61.4 11-Aug-2004 If you have BBBS uplinks and use automatic uplink requests then change the setup of these nodes in screen 7.10. + libnodelist.a: + Removed some debug logging. + + mbcico: + Removed a little debug logging. + mbfido: No help was displayed when no valid command was given. Echomail for non-existing areas now finally is stored in the diff --git a/lib/nodelist.c b/lib/nodelist.c index f424cbf7..f6ffeade 100644 --- a/lib/nodelist.c +++ b/lib/nodelist.c @@ -915,15 +915,15 @@ node *getnlent(faddr *addr) */ if (nodebuf.iflags & mytcpip) { memset(&tbuf, 0, sizeof(tbuf)); - Syslog('n', "getnlent: node iflags %08x, mytcpip %08x", nodebuf.iflags, mytcpip); +// Syslog('n', "getnlent: node iflags %08x, mytcpip %08x", nodebuf.iflags, mytcpip); for (tmpm = &nl_tcpip; *tmpm; tmpm=&((*tmpm)->next)) { if ((*tmpm)->mask & nodebuf.iflags) { - Syslog('n', "getnlent: best flag is %s", (*tmpm)->name); +// Syslog('n', "getnlent: best flag is %s", (*tmpm)->name); for (tmps = &nl_service; *tmps; tmps=&((*tmps)->next)) { if (strcmp((*tmps)->flag, (*tmpm)->name) == 0) { sprintf(tbuf, "%s", (*tmps)->service); tport = (*tmps)->tmpport; - Syslog('n', "getnlent: protocol %s at port %d", (*tmps)->service, (*tmps)->tmpport); +// Syslog('n', "getnlent: protocol %s at port %d", (*tmps)->service, (*tmps)->tmpport); } } } @@ -1084,7 +1084,7 @@ node *getnlent(faddr *addr) * for this protocol. */ sprintf(tbuf, ":%lu", tport); - Syslog('n', "getnlent: adding port %s", tbuf); +// Syslog('n', "getnlent: adding default port %s", tbuf); nodebuf.url = xstrcat(nodebuf.url, tbuf); } diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 779e139d..5587cde2 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -1670,8 +1670,8 @@ int binkp_send_frame(int cmd, char *buf, int len) if (!cmd) bp.cmpblksize = SND_BLKSIZE; } - if (!cmd && (last != bp.cmpblksize)) - Syslog('b', "Binkp: adjusting next blocksize to %d bytes", bp.cmpblksize); +// if (!cmd && (last != bp.cmpblksize)) +// Syslog('b', "Binkp: adjusting next blocksize to %d bytes", bp.cmpblksize); #else rc = PUTCHAR((header >> 8) & 0x00ff); if (!rc) diff --git a/mbcico/filelist.c b/mbcico/filelist.c index cf26fd44..332912ba 100644 --- a/mbcico/filelist.c +++ b/mbcico/filelist.c @@ -476,7 +476,6 @@ file_list *create_filelist(fa_list *al, char *fl, int create) free(temp); - Syslog('o', "B4 FTS-0001 checkpoint"); /* * For FTS-0001 we need to create at least one packet. */ diff --git a/mbcico/openport.c b/mbcico/openport.c index 6bd8b09c..680ff53c 100644 --- a/mbcico/openport.c +++ b/mbcico/openport.c @@ -115,11 +115,8 @@ int openport(char *port, int speed) } tty_status = 0; hanged_up = 0; - Syslog('t', "SIGHUP => linedrop()"); signal(SIGHUP, linedrop); - Syslog('t', "SIGPIPE => sigpipe()"); signal(SIGPIPE, sigpipe); - Syslog('t', "SIGINT => interrupt()"); signal(SIGINT, interrupt); rc = 0; rc2 = 0; @@ -191,9 +188,7 @@ int openport(char *port, int speed) void localport(void) { Syslog('t', "Setting port \"%s\" local",MBSE_SS(openedport)); - Syslog('t', "SIGHUP => SIG_IGN"); signal(SIGHUP, SIG_IGN); - Syslog('t', "SIGPIPE => SIG_IGN"); signal(SIGPIPE, SIG_IGN); if (isatty(0)) @@ -218,9 +213,7 @@ void nolocalport(void) int rawport(void) { tty_status = 0; - Syslog('t', "SIGHUP => linedrop()"); signal(SIGHUP, linedrop); - Syslog('t', "SIGPIPE => sigpipe()"); signal(SIGPIPE, sigpipe); if (isatty(0)) @@ -233,9 +226,7 @@ int rawport(void) int cookedport(void) { - Syslog('t', "SIGHUP => SIG_IGN"); signal(SIGHUP, SIG_IGN); - Syslog('t', "SIGPIPE => SIG_IGN"); signal(SIGPIPE, SIG_IGN); if (isatty(0)) return tty_cooked();