Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 403970a02a)
r14.0.x
Slávek Banko 8 years ago
parent 38b1e57af2
commit 47a3882f53

@ -173,7 +173,7 @@ IPTRule* IPTChain::addRule( const TQString& rule_name, KMFError *err, int index
KMFError* IPTChain::delRule( IPTRule* rule ) { KMFError* IPTChain::delRule( IPTRule* rule ) {
kdDebug() << "KMFError* IPTChain::delRule( IPTRule* rule )" << endl; kdDebug() << "KMFError* IPTChain::delRule( IPTRule* rule )" << endl;
if ( m_ruleset.count() < 1 ) if ( m_ruleset.count() < 1 )
return false; return 0;
TQString name = rule->name(); TQString name = rule->name();
if ( m_ruleset.find( rule ) != -1 ) { if ( m_ruleset.find( rule ) != -1 ) {

Loading…
Cancel
Save