Added warning log for messages >= 32768 bytes
This commit is contained in:
parent
f1a3a03453
commit
f94f93131f
@ -14,6 +14,9 @@ v0.83.20 27-May-2006
|
|||||||
Check for stopped tasks reverted to the old method without
|
Check for stopped tasks reverted to the old method without
|
||||||
signal handlers.
|
signal handlers.
|
||||||
|
|
||||||
|
mbfido:
|
||||||
|
Added warning log for messages >= 32768 bytes.
|
||||||
|
|
||||||
|
|
||||||
v0.83.19 23-May-2006 - 27-May-2006
|
v0.83.19 23-May-2006 - 27-May-2006
|
||||||
|
|
||||||
|
@ -221,10 +221,12 @@ int importmsg(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t
|
|||||||
FirstLine = FALSE;
|
FirstLine = FALSE;
|
||||||
} /* end of checking kludges */
|
} /* end of checking kludges */
|
||||||
|
|
||||||
if (echomail) {
|
if (size >= 32768) {
|
||||||
Syslog('-', "Echo area %s from %s subj \"%s\" size %d", msgs.Tag, f->name, subj, size);
|
if (echomail) {
|
||||||
} else {
|
Syslog('!', "WARNING: Echo area %s from \"%s\" subj \"%s\" size %d", msgs.Tag, f->name, subj, size);
|
||||||
Syslog('-', "Net from %s subj \"%s\" size %d", f->name, subj, size);
|
} else {
|
||||||
|
Syslog('!', "WARNING: Net from \"%s\" subj \"%s\" size %d", f->name, subj, size);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (echomail) {
|
if (echomail) {
|
||||||
|
Reference in New Issue
Block a user