Просмотр исходного кода

Fixed subtle bug where normal XCI responses did not end with \n.

Updated engine version number to 3.0.20.

git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@41 dc71a809-1921-45c4-985c-09c81d0142d9
wx
madscientist 12 лет назад
Родитель
Сommit
cd46067c83
2 измененных файлов: 3 добавлений и 3 удалений
  1. 1
    1
      SNFMulti.cpp
  2. 2
    2
      snfXCImgr.cpp

+ 1
- 1
SNFMulti.cpp Просмотреть файл

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

//// Version Info

const char* SNF_ENGINE_VERSION = "SNFMulti Engine Version 3.0.19 Build: " __DATE__ " " __TIME__;
const char* SNF_ENGINE_VERSION = "SNFMulti Engine Version 3.0.20 Build: " __DATE__ " " __TIME__;

//// Script Caller Methods


+ 2
- 2
snfXCImgr.cpp Просмотреть файл

@@ -102,7 +102,7 @@ void snfXCIJobProcessor::processScan(snfXCIJob& J) {
false == myXCI.scanner_scan_log
) { // If no optional data was requested
ResultString // then close the <request/> and
<< "/></scanner></xci></snf>" // emit the closing elements.
<< "/></scanner></xci></snf>\n" // emit the closing elements.
<< endl; // End of the line.

} else { // If optional data is requested:
@@ -120,7 +120,7 @@ void snfXCIJobProcessor::processScan(snfXCIJob& J) {
<< "</log>" << endl; // End the log data and end of line.
}

ResultString << "</result></scanner></xci></snf>"; // Emit the closing elements.
ResultString << "</result></scanner></xci></snf>\n"; // Emit the closing elements.
}

J.Response = ResultString.str(); // Capture the formatted response.

Загрузка…
Отмена
Сохранить