Explorar el Código

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 hace 15 años
padre
commit
2b294fae7a
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  1. 5
    0
      ChangeLog
  2. 1
    0
      SNFMilter.cpp

+ 5
- 0
ChangeLog Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar