Removed debug logging
This commit is contained in:
parent
e43bfba131
commit
72226bff0c
@ -64,10 +64,7 @@ void send_xlat(char *inp)
|
|||||||
char temp[1024];
|
char temp[1024];
|
||||||
|
|
||||||
strncpy(temp, chartran(inp), sizeof(temp) -1);
|
strncpy(temp, chartran(inp), sizeof(temp) -1);
|
||||||
|
|
||||||
// Syslog('n', "> \"%s\"", printable(temp, 0));
|
|
||||||
PUTSTR(temp);
|
PUTSTR(temp);
|
||||||
|
|
||||||
PUTSTR((char *)"\r\n");
|
PUTSTR((char *)"\r\n");
|
||||||
FLUSHOUT();
|
FLUSHOUT();
|
||||||
sentbytes += (strlen(temp) + 2);
|
sentbytes += (strlen(temp) + 2);
|
||||||
@ -141,8 +138,6 @@ void command_abhs(char *buf)
|
|||||||
art = atoi(opt);
|
art = atoi(opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
Syslog('n', "Article %lu", art);
|
|
||||||
|
|
||||||
if (art == 0L) {
|
if (art == 0L) {
|
||||||
send_nntp("420 No current article has been selected");
|
send_nntp("420 No current article has been selected");
|
||||||
return;
|
return;
|
||||||
|
@ -284,7 +284,8 @@ void send_nntp(const char *format, ...)
|
|||||||
/*
|
/*
|
||||||
* Only log responses
|
* Only log responses
|
||||||
*/
|
*/
|
||||||
if (out[4] == ' ') {
|
if (out[3] == ' ') {
|
||||||
|
memset(&p, 0, sizeof(p));
|
||||||
strncpy(p, out, 3);
|
strncpy(p, out, 3);
|
||||||
if (atoi(p) > 0) {
|
if (atoi(p) > 0) {
|
||||||
Syslog('n', "> \"%s\"", printable(out, 0));
|
Syslog('n', "> \"%s\"", printable(out, 0));
|
||||||
|
Reference in New Issue
Block a user