Fixed log message for scanned netmail

This commit is contained in:
Michiel Broek 2007-02-13 16:11:49 +00:00
parent 40aabda8c7
commit 63548b5033
2 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,7 @@ v0.91.3 11-Feb-2007
mbfido: mbfido:
Don't crash on empty ticfiles. Don't crash on empty ticfiles.
Fixed log message for scanned netmail.
mbtask: mbtask:
Some code cleanup. Some code cleanup.

View File

@ -4,7 +4,7 @@
* Purpose ...............: Scan for outgoing mail. * Purpose ...............: Scan for outgoing mail.
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2005 * Copyright (C) 1997-2007
* *
* Michiel Broek FIDO: 2:280/2802 * Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10 * Beekmansbos 10
@ -819,7 +819,8 @@ void ExportNet(unsigned int MsgNum, int UUCPgate)
} while ((p = (char *)MsgText_Next()) != NULL); } while ((p = (char *)MsgText_Next()) != NULL);
} }
} }
Syslog('m', " netmail is %sempt", empty ? "":"not "); if (empty)
Syslog('m', " netmail is empty");
/* /*
* Check if this a netmail to our own local UUCP gate. * Check if this a netmail to our own local UUCP gate.
@ -1124,7 +1125,6 @@ void ExportEmail(unsigned int MsgNum)
if (Msg_Read(MsgNum, 79)) { if (Msg_Read(MsgNum, 79)) {
if ((p = (char *)MsgText_First()) != NULL) { if ((p = (char *)MsgText_First()) != NULL) {
do { do {
printf("\"%s\"\n", printable(p, 0));
Syslogp('m', printable(p, 0)); Syslogp('m', printable(p, 0));
/* /*
* GoldED places ^A characters in front of the RFC headers, * GoldED places ^A characters in front of the RFC headers,