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-23 10:07:10 +0900 |
commit | 39876d710881d647fd0d755d31b620a7214cf9ff (patch) | |
tree | 0affcc87388c3f41ff8a5013910f9e35cd0da0a9 /src/importipsecprofiledialog.cpp | |
parent | f45740dc476004d43e63d94b746239e77dfef19e (diff) | |
download | kvpnc-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/importipsecprofiledialog.cpp')
-rw-r--r-- | src/importipsecprofiledialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/importipsecprofiledialog.cpp b/src/importipsecprofiledialog.cpp index de64f36..6ae4d0b 100644 --- a/src/importipsecprofiledialog.cpp +++ b/src/importipsecprofiledialog.cpp @@ -130,7 +130,7 @@ void ImportIpsecProfileDialog::canAccept() { TQPtrList<VpnAccountData> *ImportedAccountList = new TQPtrList<VpnAccountData>(); - ImportedAccountList->setAutoDelete ( TRUE ); // the list owns the objects + ImportedAccountList->setAutoDelete ( true ); // the list owns the objects TQPtrList<IpsecImportSection> *IpsecImportSectionList = new TQPtrList<IpsecImportSection>(); bool isIpsecGlobalSection=false; @@ -718,7 +718,7 @@ void ImportIpsecProfileDialog::canAccept() validLineFound=true; TQString Authby=line2.simplifyWhiteSpace().section ( "authby=",1,1 ); // std::cout << "left and right use certs " << std::endl; - if ( Authby.find ( "rsasig", 0 , FALSE ) > -1 ) + if ( Authby.find ( "rsasig", 0 , false ) > -1 ) { if ( GlobalConfig->KvpncDebugLevel > 2 ) GlobalConfig->appendLogEntry ( i18n ( "import ipsec config: left and right use certs." ) ,GlobalConfig->debug ); @@ -727,7 +727,7 @@ void ImportIpsecProfileDialog::canAccept() //profiledata->setPskIsInFile ( true ); //profiledata->setPrivateKeyFile ( "/etc/ipsec.secrets" ); } - else if ( Authby.find ( "secret", 0 , FALSE ) > -1 ) + else if ( Authby.find ( "secret", 0 , false ) > -1 ) { if ( GlobalConfig->KvpncDebugLevel > 2 ) GlobalConfig->appendLogEntry ( i18n ( "import ipsec config: left and right use psk." ) ,GlobalConfig->debug ); |