|
|
|
|
|
|
|
|
throw FileError("snf_EngineHandler::scanMessageFile() FileEmpty!"); |
|
|
throw FileError("snf_EngineHandler::scanMessageFile() FileEmpty!"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
boolean NoNeedToReadFullFile = (false == MyScanData.XHeaderInjectOn);
|
|
|
|
|
|
boolean FileSizeLargerThanScanHorizon = (MessageFileSize > snf_ScanHorizon);
|
|
|
|
|
|
|
|
|
bool NoNeedToReadFullFile = (false == MyScanData.XHeaderInjectOn);
|
|
|
|
|
|
bool FileSizeLargerThanScanHorizon = (MessageFileSize > snf_ScanHorizon);
|
|
|
if(NoNeedToReadFullFile && FileSizeLargerThanScanHorizon) {
|
|
|
if(NoNeedToReadFullFile && FileSizeLargerThanScanHorizon) {
|
|
|
MessageFileSize = snf_ScanHorizon;
|
|
|
MessageFileSize = snf_ScanHorizon;
|
|
|
}
|
|
|
}
|