summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 15:56:36 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-09-03 15:56:36 (GMT)
commit403970a02a6ffc16072080a0356745111a6483a8 (patch)
treed30b47e0bb30f2990070bc599b74f38ad190fd0d
parent5c07dffdc6c97762e4e7aab96cf971d81bc37e4f (diff)
downloadkmyfirewall-403970a0.zip
kmyfirewall-403970a0.tar.gz
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kmyfirewall/core/iptchain.cpp2
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 ) {