diff options
Diffstat (limited to 'kmyfirewall/core/iptchain.cpp')
-rw-r--r-- | kmyfirewall/core/iptchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmyfirewall/core/iptchain.cpp b/kmyfirewall/core/iptchain.cpp index fdacdac..c377d1b 100644 --- a/kmyfirewall/core/iptchain.cpp +++ b/kmyfirewall/core/iptchain.cpp @@ -173,7 +173,7 @@ IPTRule* IPTChain::addRule( const TQString& rule_name, KMFError *err, int index KMFError* IPTChain::delRule( IPTRule* rule ) { kdDebug() << "KMFError* IPTChain::delRule( IPTRule* rule )" << endl; if ( m_ruleset.count() < 1 ) - return false; + return 0; TQString name = rule->name(); if ( m_ruleset.find( rule ) != -1 ) { |