Removed some debug logging

This commit is contained in:
Michiel Broek 2005-09-07 20:44:37 +00:00
parent 250ae75a87
commit 9937aa1b96
4 changed files with 6 additions and 8 deletions

View File

@ -10,6 +10,9 @@ v0.71.6 02-Sep-2005
If some newsarticles are not accepted for post, don't treat
this as fatal and clear the sendqueue.
mbnntp:
Removed some debug logging.
v0.71.5 18-Aug-2005 - 02-Sep-2005

View File

@ -71,7 +71,6 @@ void auth_user(char *cmd)
}
memset(&username, 0, sizeof(username));
strncpy(username, p, 8);
Syslog('n', "Cache username \"%s\"", printable(username, 0));
send_nntp("381 More authentication information required");
got_username = TRUE;
}

View File

@ -4,7 +4,7 @@
* File ..................: mbnntp/openport.c
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -62,9 +62,7 @@ void sigpipe(int sig)
int rawport(void)
{
tty_status = 0;
Syslog('t', "SIGHUP => linedrop()");
signal(SIGHUP, linedrop);
Syslog('t', "SIGPIPE => sigpipe()");
signal(SIGPIPE, sigpipe);
return 0;
}
@ -74,9 +72,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);
return 0;
}

View File

@ -3,7 +3,7 @@
* $Id$
*
*****************************************************************************
* Copyright (C) 1997-2004
* Copyright (C) 1997-2005
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -83,7 +83,7 @@ static int tty_read(char *buf, int size, int tot)
tty_status=STAT_HANGUP;
WriteError("tty_read: hanged_up flag");
} else {
WriteError("$tty_read: select for read failed");
WriteError("tty_read: select for read failed");
tty_status = STAT_ERROR;
}
} else if (rc == 0) {