diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:28:03 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:28:03 +0900 |
| commit | b1606f1200c833b5a0896d6bfe08db8db8c6d81e (patch) | |
| tree | 7259b359fa3dc825890f7c7a653b7628f7cf0f02 /src/utils.cpp | |
| parent | 6af1ac6d9f3382a8f9494eae0455b2a01c91a86c (diff) | |
| download | kvpnc-b1606f1200c833b5a0896d6bfe08db8db8c6d81e.tar.gz kvpnc-b1606f1200c833b5a0896d6bfe08db8db8c6d81e.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/utils.cpp')
| -rw-r--r-- | src/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index 4fc3a17..10c2717 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -1415,15 +1415,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; } } @@ -1760,7 +1760,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) { |
