Преглед на файлове

Removed signal catching Added SNFMilter version and libmilter protocol

version (SMFI_PROT_VERSION) to debug outptu.


git-svn-id: https://svn.microneil.com/svn/SNFMilter/trunk@10 2c985dca-31e6-41a4-b4a2-d8f5b7f8e074
master
adeniz преди 15 години
родител
ревизия
0248b7650c
променени са 2 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. 3
    1
      ChangeLog
  2. 5
    1
      main.cpp

+ 3
- 1
ChangeLog Целия файл

@@ -4,7 +4,9 @@

* SNFMilter.hpp: Removed signal catching.

* main.cpp (main): Removed signal catching.
* main.cpp (main): Removed signal catching. Added SNFMilter
version and libmilter protocol version (SMFI_PROT_VERSION) to
debug output.

2009-06-03 Alban Deniz <adeniz@skidmark.localdomain>


+ 5
- 1
main.cpp Целия файл

@@ -75,7 +75,11 @@ int main(int argc, char* argv[]) {
string::npos != argv0.find("debug") // "debug" in our command path
) { // then we are in DebugMode.
DebugMode = true; // Set the flag and tell the
cout << "Debug Mode" << endl; // watchers.
cout << SNF_MILTER_VERSION << endl; // watchers.
#ifdef SMFI_PROT_VERSION
cout << "SMFI_PROT_VERSION: " << SMFI_PROT_VERSION << endl;
#endif
cout << "Debug Mode" << endl;
}
try { // Catch anything that breaks loose.

Loading…
Отказ
Запис