summaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-22 14:28:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-23 10:07:10 +0900
commit39876d710881d647fd0d755d31b620a7214cf9ff (patch)
tree0affcc87388c3f41ff8a5013910f9e35cd0da0a9 /src/utils.cpp
parentf45740dc476004d43e63d94b746239e77dfef19e (diff)
downloadkvpnc-r14.1.4.tar.gz
kvpnc-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b1606f1200c833b5a0896d6bfe08db8db8c6d81e)
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 5e7d5f6..98210e6 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -1416,15 +1416,15 @@ void Utils::readStdErrLoadKernelModule()
// kdDebug() << "readStdErrreadStderrLoadKernelModule" << msg << endl;
/* FATAL: Module <Name> not found. */
- if ( msg.find( "not found", 0, FALSE ) > -1 ) {
+ if ( msg.find( "not found", 0, false ) > -1 ) {
modprobeSuccess = false;
}
- if ( msg.find( "could not find module", 0 , FALSE ) > -1 ) {
+ if ( msg.find( "could not find module", 0 , false ) > -1 ) {
modprobeSuccess = false;
}
- if ( msg.find( "not permitted", 0 , FALSE ) > -1 ) {
+ if ( msg.find( "not permitted", 0 , false ) > -1 ) {
modprobeSuccess = false;
}
}
@@ -1761,7 +1761,7 @@ void Utils::readOutGetCertsFromCiscoCertStoreSlot()
// if (config->KvpncDebugLevel > 2)
// std::cout << "readOutGetCertsFromCiscoCertStoreSlot: " << msg << std::endl;
- if (msg.find("Cert #",0,FALSE) > -1)
+ if (msg.find("Cert #",0,false) > -1)
CertsFromCiscoCertPos=1;
if (CertsFromCiscoCertPos==1 || CertsFromCiscoCertPos ==2 | CertsFromCiscoCertPos ==3)
{