Removed some debug logging

This commit is contained in:
Michiel Broek 2004-08-13 18:37:33 +00:00
parent f7aa43b328
commit 4956f69f79
5 changed files with 12 additions and 16 deletions

View File

@ -7,6 +7,12 @@ v0.61.4 11-Aug-2004
If you have BBBS uplinks and use automatic uplink requests then If you have BBBS uplinks and use automatic uplink requests then
change the setup of these nodes in screen 7.10. change the setup of these nodes in screen 7.10.
libnodelist.a:
Removed some debug logging.
mbcico:
Removed a little debug logging.
mbfido: mbfido:
No help was displayed when no valid command was given. No help was displayed when no valid command was given.
Echomail for non-existing areas now finally is stored in the Echomail for non-existing areas now finally is stored in the

View File

@ -915,15 +915,15 @@ node *getnlent(faddr *addr)
*/ */
if (nodebuf.iflags & mytcpip) { if (nodebuf.iflags & mytcpip) {
memset(&tbuf, 0, sizeof(tbuf)); 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)) { for (tmpm = &nl_tcpip; *tmpm; tmpm=&((*tmpm)->next)) {
if ((*tmpm)->mask & nodebuf.iflags) { 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)) { for (tmps = &nl_service; *tmps; tmps=&((*tmps)->next)) {
if (strcmp((*tmps)->flag, (*tmpm)->name) == 0) { if (strcmp((*tmps)->flag, (*tmpm)->name) == 0) {
sprintf(tbuf, "%s", (*tmps)->service); sprintf(tbuf, "%s", (*tmps)->service);
tport = (*tmps)->tmpport; 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. * for this protocol.
*/ */
sprintf(tbuf, ":%lu", tport); 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); nodebuf.url = xstrcat(nodebuf.url, tbuf);
} }

View File

@ -1670,8 +1670,8 @@ int binkp_send_frame(int cmd, char *buf, int len)
if (!cmd) if (!cmd)
bp.cmpblksize = SND_BLKSIZE; bp.cmpblksize = SND_BLKSIZE;
} }
if (!cmd && (last != bp.cmpblksize)) // if (!cmd && (last != bp.cmpblksize))
Syslog('b', "Binkp: adjusting next blocksize to %d bytes", bp.cmpblksize); // Syslog('b', "Binkp: adjusting next blocksize to %d bytes", bp.cmpblksize);
#else #else
rc = PUTCHAR((header >> 8) & 0x00ff); rc = PUTCHAR((header >> 8) & 0x00ff);
if (!rc) if (!rc)

View File

@ -476,7 +476,6 @@ file_list *create_filelist(fa_list *al, char *fl, int create)
free(temp); free(temp);
Syslog('o', "B4 FTS-0001 checkpoint");
/* /*
* For FTS-0001 we need to create at least one packet. * For FTS-0001 we need to create at least one packet.
*/ */

View File

@ -115,11 +115,8 @@ int openport(char *port, int speed)
} }
tty_status = 0; tty_status = 0;
hanged_up = 0; hanged_up = 0;
Syslog('t', "SIGHUP => linedrop()");
signal(SIGHUP, linedrop); signal(SIGHUP, linedrop);
Syslog('t', "SIGPIPE => sigpipe()");
signal(SIGPIPE, sigpipe); signal(SIGPIPE, sigpipe);
Syslog('t', "SIGINT => interrupt()");
signal(SIGINT, interrupt); signal(SIGINT, interrupt);
rc = 0; rc = 0;
rc2 = 0; rc2 = 0;
@ -191,9 +188,7 @@ int openport(char *port, int speed)
void localport(void) void localport(void)
{ {
Syslog('t', "Setting port \"%s\" local",MBSE_SS(openedport)); Syslog('t', "Setting port \"%s\" local",MBSE_SS(openedport));
Syslog('t', "SIGHUP => SIG_IGN");
signal(SIGHUP, SIG_IGN); signal(SIGHUP, SIG_IGN);
Syslog('t', "SIGPIPE => SIG_IGN");
signal(SIGPIPE, SIG_IGN); signal(SIGPIPE, SIG_IGN);
if (isatty(0)) if (isatty(0))
@ -218,9 +213,7 @@ void nolocalport(void)
int rawport(void) int rawport(void)
{ {
tty_status = 0; tty_status = 0;
Syslog('t', "SIGHUP => linedrop()");
signal(SIGHUP, linedrop); signal(SIGHUP, linedrop);
Syslog('t', "SIGPIPE => sigpipe()");
signal(SIGPIPE, sigpipe); signal(SIGPIPE, sigpipe);
if (isatty(0)) if (isatty(0))
@ -233,9 +226,7 @@ int rawport(void)
int cookedport(void) int cookedport(void)
{ {
Syslog('t', "SIGHUP => SIG_IGN");
signal(SIGHUP, SIG_IGN); signal(SIGHUP, SIG_IGN);
Syslog('t', "SIGPIPE => SIG_IGN");
signal(SIGPIPE, SIG_IGN); signal(SIGPIPE, SIG_IGN);
if (isatty(0)) if (isatty(0))
return tty_cooked(); return tty_cooked();