瀏覽代碼

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 年之前
父節點
當前提交
e3cc59a0f8
共有 2 個檔案被更改,包括 10 行新增7 行删除
  1. 1
    1
      SNFMulti.cpp
  2. 9
    6
      snfLOGmgr.cpp

+ 1
- 1
SNFMulti.cpp 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存