Added some debugging code
This commit is contained in:
parent
90a0614a7f
commit
943e8ff92d
@ -1142,6 +1142,7 @@ int AreaMgr(faddr *f, faddr *t, char *replyid, char *subj, time_t mdate, int fla
|
|||||||
fseek(tmp, 0, SEEK_SET);
|
fseek(tmp, 0, SEEK_SET);
|
||||||
|
|
||||||
while ((fgets(Buf, MAX_LINE_LENGTH, tmp)) != NULL) {
|
while ((fgets(Buf, MAX_LINE_LENGTH, tmp)) != NULL) {
|
||||||
|
Syslogp('-', printable(Buf, 0));
|
||||||
while ((Buf[strlen(Buf) - 1]=='\n') || (Buf[strlen(Buf) - 1]=='\r')) {
|
while ((Buf[strlen(Buf) - 1]=='\n') || (Buf[strlen(Buf) - 1]=='\r')) {
|
||||||
Buf[strlen(Buf) - 1] = '\0';
|
Buf[strlen(Buf) - 1] = '\0';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user