From 39876d710881d647fd0d755d31b620a7214cf9ff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Mar 2025 14:28:03 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit b1606f1200c833b5a0896d6bfe08db8db8c6d81e) --- src/utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils.cpp') 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 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) { -- cgit v1.2.3