diff --git a/ChangeLog b/ChangeLog index 038e6caa..2bde73dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4633,6 +4633,7 @@ v0.33.20 10-Feb-2002 destination address. Corrected spelling errors in the Areamgr and Filemgr help messages. + Removed some debug logging from tge RFC->FTN gate. mball: Will not crash anymore when it needs more then 10 minutes to diff --git a/lib/rfcmsg.c b/lib/rfcmsg.c index b1f2865b..055d582e 100644 --- a/lib/rfcmsg.c +++ b/lib/rfcmsg.c @@ -76,7 +76,7 @@ rfcmsg *parsrfc(FILE *fp) } else cur->val = xstrcat(cur->val,buffer); } else { - Syslog('M', "this is a header line"); +// Syslog('M', "this is a header line"); if (cur) { firstline=FALSE; (cur->next) = (rfcmsg *)malloc(sizeof(rfcmsg)); @@ -109,7 +109,7 @@ rfcmsg *parsrfc(FILE *fp) /* at least one non blank char */ (strspn(p+2, " \t\n") < strlen(p+2)) && (strspn(buffer,KWDCHARS) == (p-buffer))) { *p='\0'; - Syslog('M', "This is a regular header"); +// Syslog('M', "This is a regular header"); cur->key = xstrcpy(buffer); cur->val = xstrcpy(p+1); } else { diff --git a/mbfido/rfc2ftn.c b/mbfido/rfc2ftn.c index 419014cb..858b7daf 100644 --- a/mbfido/rfc2ftn.c +++ b/mbfido/rfc2ftn.c @@ -455,12 +455,12 @@ int rfc2ftn(FILE *fp, faddr *recipient) fprintf(ofp, "\001TZUTC: %s\n", gmtoffset(Now)); fmsg->subj = oldsubj; if ((p = hdr((char *)"X-FTN-REPLYADDR",msg))) { - Syslog('n', "replyaddr 1 %s", p); +// Syslog('n', "replyaddr 1 %s", p); hdrsize += 10+strlen(p); fprintf(ofp,"\1REPLYADDR:"); kludgewrite(p,ofp); } else if (replyaddr) { - Syslog('n', "replyaddr 2"); +// Syslog('n', "replyaddr 2"); hdrsize += 10+strlen(replyaddr); fprintf(ofp,"\1REPLYADDR: "); kludgewrite(replyaddr,ofp); @@ -810,17 +810,17 @@ int rfc2ftn(FILE *fp, faddr *recipient) fflush(ofp); rewind(ofp); - Syslog('n', "========== Fido start"); - while (fgets(temp, 4096, ofp) != NULL) { +// Syslog('n', "========== Fido start"); +// while (fgets(temp, 4096, ofp) != NULL) { /* * Only log kludges, skip the body */ - if ((temp[0] == '\001') || !strncmp(temp, "AREA:", 5) || !strncmp(temp, "SEEN-BY", 7)) { - Striplf(temp); - Syslogp('n', printable(temp, 0)); - } - } - Syslog('n', "========== Fido end"); +// if ((temp[0] == '\001') || !strncmp(temp, "AREA:", 5) || !strncmp(temp, "SEEN-BY", 7)) { +// Striplf(temp); +// Syslogp('n', printable(temp, 0)); +// } +// } +// Syslog('n', "========== Fido end"); if (newsmode) rc = postecho(NULL, fmsg->from, fmsg->to, origin, fmsg->subj, fmsg->date, fmsg->flags, 0, ofp, FALSE);