Bläddra i källkod

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 år sedan
förälder
incheckning
0248b7650c
2 ändrade filer med 8 tillägg och 2 borttagningar
  1. 3
    1
      ChangeLog
  2. 5
    1
      main.cpp

+ 3
- 1
ChangeLog Visa fil

@@ -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 Visa fil

@@ -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.

Laddar…
Avbryt
Spara