Przeglądaj źródła

Added default clause to switch statement in SNFMilterEngine::scanIP().


git-svn-id: https://svn.microneil.com/svn/SNFMilter/trunk@4 2c985dca-31e6-41a4-b4a2-d8f5b7f8e074
master
adeniz 15 lat temu
rodzic
commit
2b294fae7a
2 zmienionych plików z 6 dodań i 0 usunięć
  1. 5
    0
      ChangeLog
  2. 1
    0
      SNFMilter.cpp

+ 5
- 0
ChangeLog Wyświetl plik

@@ -1,3 +1,8 @@
2009-05-26 Alban Deniz <adeniz@skidmark.localdomain>

* SNFMilter.cpp (SNFMilterEngine::scanIP): Added default: to
switch statement.

2009-05-24 Alban Deniz <adeniz@skidmark.localdomain>

* Makefile.am (noinst_HEADERS): Removed ProductionQueue.hpp from

+ 1
- 0
SNFMilter.cpp Wyświetl plik

@@ -212,6 +212,7 @@ SNFMilterAction SNFMilterEngine::scanIP(unsigned long int IP) {
case Caution: { TestResult = CautionAction; break; } // in our configuration then we will
case Black: { TestResult = BlackAction; break; } // return the action code that is
case Truncate: { TestResult = TruncateAction; break; } // configured. Otherwise we will return
default: break;
} // the default "Allow" action.
return TestResult; // Tell them what we've got.
}

Ładowanie…
Anuluj
Zapisz