Browse Source

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 years ago
parent
commit
0248b7650c
2 changed files with 8 additions and 2 deletions
  1. 3
    1
      ChangeLog
  2. 5
    1
      main.cpp

+ 3
- 1
ChangeLog View File



* SNFMilter.hpp: Removed signal catching. * 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> 2009-06-03 Alban Deniz <adeniz@skidmark.localdomain>



+ 5
- 1
main.cpp View File

string::npos != argv0.find("debug") // "debug" in our command path string::npos != argv0.find("debug") // "debug" in our command path
) { // then we are in DebugMode. ) { // then we are in DebugMode.
DebugMode = true; // Set the flag and tell the 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. try { // Catch anything that breaks loose.

Loading…
Cancel
Save