Pārlūkot izejas kodu

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 pirms 15 gadiem
vecāks
revīzija
0248b7650c
2 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 3
    1
      ChangeLog
  2. 5
    1
      main.cpp

+ 3
- 1
ChangeLog Parādīt failu



* 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 Parādīt failu

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.

Notiek ielāde…
Atcelt
Saglabāt