Disabled debug logging
This commit is contained in:
parent
500396de66
commit
be58dfe96d
@ -394,10 +394,10 @@ char *chartran(char *input)
|
|||||||
WriteError("$iconv(%s) cd1", printable(input, 0));
|
WriteError("$iconv(%s) cd1", printable(input, 0));
|
||||||
strncpy(outbuf, input, sizeof(outbuf) -1);
|
strncpy(outbuf, input, sizeof(outbuf) -1);
|
||||||
}
|
}
|
||||||
if (strcmp(input, outbuf)) {
|
// if (strcmp(input, outbuf)) {
|
||||||
Syslog(loglevel, "i %s", printable(input, 0));
|
// Syslog(loglevel, "i %s", printable(input, 0));
|
||||||
Syslog(loglevel, "u %s", printable(outbuf, 0));
|
// Syslog(loglevel, "u %s", printable(outbuf, 0));
|
||||||
}
|
// }
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -414,15 +414,15 @@ char *chartran(char *input)
|
|||||||
WriteError("$iconv(%s) cd2", printable(input, 0));
|
WriteError("$iconv(%s) cd2", printable(input, 0));
|
||||||
strncpy(outbuf, input, sizeof(outbuf) -1);
|
strncpy(outbuf, input, sizeof(outbuf) -1);
|
||||||
}
|
}
|
||||||
if (strcmp(input, outbuf)) {
|
// if (strcmp(input, outbuf)) {
|
||||||
Syslog(loglevel, "u %s", printable(input, 0));
|
// Syslog(loglevel, "u %s", printable(input, 0));
|
||||||
Syslog(loglevel, "o %s", printable(outbuf, 0));
|
// Syslog(loglevel, "o %s", printable(outbuf, 0));
|
||||||
}
|
// }
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Double translation via UTF-8
|
* Double translation with UTF-8 as the middleman.
|
||||||
*/
|
*/
|
||||||
inSize = strlen(input);
|
inSize = strlen(input);
|
||||||
outSize = sizeof(temp);
|
outSize = sizeof(temp);
|
||||||
@ -434,9 +434,9 @@ char *chartran(char *input)
|
|||||||
strncpy(outbuf, input, sizeof(outbuf) -1);
|
strncpy(outbuf, input, sizeof(outbuf) -1);
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
if (strcmp(input, temp)) {
|
// if (strcmp(input, temp)) {
|
||||||
Syslog(loglevel, "i %s", printable(input, 0));
|
// Syslog(loglevel, "i %s", printable(input, 0));
|
||||||
}
|
// }
|
||||||
|
|
||||||
inSize = strlen(temp);
|
inSize = strlen(temp);
|
||||||
outSize = sizeof(outbuf);
|
outSize = sizeof(outbuf);
|
||||||
@ -447,12 +447,12 @@ char *chartran(char *input)
|
|||||||
WriteError("$iconv(%s) cd2", printable(temp, 0));
|
WriteError("$iconv(%s) cd2", printable(temp, 0));
|
||||||
strncpy(outbuf, input, sizeof(outbuf) -1);
|
strncpy(outbuf, input, sizeof(outbuf) -1);
|
||||||
}
|
}
|
||||||
if (strcmp(input, temp) || strcmp(temp, outbuf)) {
|
// if (strcmp(input, temp) || strcmp(temp, outbuf)) {
|
||||||
Syslog(loglevel, "u %s", printable(temp, 0));
|
// Syslog(loglevel, "u %s", printable(temp, 0));
|
||||||
}
|
// }
|
||||||
if (strcmp(temp, outbuf)) {
|
// if (strcmp(temp, outbuf)) {
|
||||||
Syslog(loglevel, "o %s", printable(outbuf, 0));
|
// Syslog(loglevel, "o %s", printable(outbuf, 0));
|
||||||
}
|
// }
|
||||||
|
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user