Browse Source

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 years ago
parent
commit
2b294fae7a
2 changed files with 6 additions and 0 deletions
  1. 5
    0
      ChangeLog
  2. 1
    0
      SNFMilter.cpp

+ 5
- 0
ChangeLog View File

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> 2009-05-24 Alban Deniz <adeniz@skidmark.localdomain>


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

+ 1
- 0
SNFMilter.cpp View File

case Caution: { TestResult = CautionAction; break; } // in our configuration then we will case Caution: { TestResult = CautionAction; break; } // in our configuration then we will
case Black: { TestResult = BlackAction; break; } // return the action code that is case Black: { TestResult = BlackAction; break; } // return the action code that is
case Truncate: { TestResult = TruncateAction; break; } // configured. Otherwise we will return case Truncate: { TestResult = TruncateAction; break; } // configured. Otherwise we will return
default: break;
} // the default "Allow" action. } // the default "Allow" action.
return TestResult; // Tell them what we've got. return TestResult; // Tell them what we've got.
} }

Loading…
Cancel
Save