Removed debug logging

This commit is contained in:
Michiel Broek 2005-08-14 12:33:06 +00:00
parent 9bdbd4ded2
commit 2cca8d0d92
2 changed files with 38 additions and 40 deletions

View File

@ -327,7 +327,7 @@ int charset_read_bin(void)
pt->next = NULL; /* overwritten by fread() */ pt->next = NULL; /* overwritten by fread() */
if (n != 1) if (n != 1)
return FALSE; return FALSE;
Syslog('s', "read charset table: %s -> %s", pt->in, pt->out); // Syslog('s', "read charset table: %s -> %s", pt->in, pt->out);
break; break;
default: return FALSE; default: return FALSE;
break; break;

View File

@ -4,7 +4,7 @@
* Purpose ...............: MBSE BBS Internet Library * Purpose ...............: MBSE BBS Internet Library
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2004 * Copyright (C) 1997-2005
* *
* Michiel Broek FIDO: 2:280/2802 * Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10 * Beekmansbos 10
@ -146,7 +146,6 @@ int nntp_send(char *buf)
if (nntpsock == -1) if (nntpsock == -1)
return -1; return -1;
Syslog('m', "> %s", printable(buf, 0));
if (send(nntpsock, buf, strlen(buf), 0) != strlen(buf)) { if (send(nntpsock, buf, strlen(buf), 0) != strlen(buf)) {
WriteError("$NNTP: socket send failed"); WriteError("$NNTP: socket send failed");
if (errno == ENOTCONN || errno == EPIPE) { if (errno == ENOTCONN || errno == EPIPE) {
@ -196,7 +195,6 @@ char *nntp_receive(void)
buf[i] = '\0'; buf[i] = '\0';
} }
Syslog('m', "< %s", printable(buf, 0));
return buf; return buf;
} }