Browse Source

Fixed the Black X-header so that it ignores above-band result codes.

Incremented the very minor engine revision number.


git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@57 dc71a809-1921-45c4-985c-09c81d0142d9
wx
madscientist 10 years ago
parent
commit
e3cc59a0f8
2 changed files with 10 additions and 7 deletions
  1. 1
    1
      SNFMulti.cpp
  2. 9
    6
      snfLOGmgr.cpp

+ 1
- 1
SNFMulti.cpp View File

@@ -25,7 +25,7 @@ using namespace std;

//// Version Info

const char* SNF_ENGINE_VERSION = "SNFMulti Engine Version 3.1.2 Build: " __DATE__ " " __TIME__;
const char* SNF_ENGINE_VERSION = "SNFMulti Engine Version 3.1.3 Build: " __DATE__ " " __TIME__;

//// Script Caller Methods


+ 9
- 6
snfLOGmgr.cpp View File

@@ -1018,13 +1018,16 @@ void snfLOGmgr::doXHDRs(snfCFGData& CFGData, snfScanData& ScanData) {
}
}

// Black header
// Black header
const int AboveBandRange = 64;

if( // If the Black XHDR is on and
CFGData.XHDRBlack_OnOff && // We have a nonzero result
0 < ScanData.CompositeFinalResult && // that is not found in the training
!CFGData.TrainingWhiteRuleHandler.isListed( // white list then...
ScanData.CompositeFinalResult)
if(
CFGData.XHDRBlack_OnOff && // If the Black XHDR is on and
0 < ScanData.CompositeFinalResult && // We have a nonzero result and
AboveBandRange > ScanData.CompositeFinalResult && // it is not an above-band code and
!CFGData.TrainingWhiteRuleHandler.isListed( // it is not found in the training
ScanData.CompositeFinalResult) // white list then...
) {
O << CFGData.XHDRBlack_Header // Emit the Black XHDR.
<< SMTPENDL;

Loading…
Cancel
Save