aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ctrlaltca2024-03-27 18:44:04 +0100
committerGravatar GitHub2024-03-27 18:44:04 +0100
commitcf5cdd603204e2bf834f85f30e1fb3cb88929314 (patch)
treeb4a46114ee88aadf49f4a777090f86ef0d4ed5df
parentMore qt6 porting (#2622) (diff)
downloadKVIrc-cf5cdd603204e2bf834f85f30e1fb3cb88929314.tar.gz
KVIrc-cf5cdd603204e2bf834f85f30e1fb3cb88929314.tar.bz2
KVIrc-cf5cdd603204e2bf834f85f30e1fb3cb88929314.zip
Avoid possible infinite recursion; fix #2505 (#2624)
-rw-r--r--src/kvilib/core/KviPointerHashTable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvilib/core/KviPointerHashTable.h b/src/kvilib/core/KviPointerHashTable.h
index fa55be62f..5741762bd 100644
--- a/src/kvilib/core/KviPointerHashTable.h
+++ b/src/kvilib/core/KviPointerHashTable.h
@@ -170,9 +170,9 @@ inline unsigned int kvi_hash_hash(const KviCString & szKey, bool bCaseSensitive)
/**
* \brief Hash key compare function for the KviCString data type
*/
-inline bool kvi_hash_key_equal(const KviCString & szKey1, const KviCString & szKey2)
+inline bool kvi_hash_key_equal(const KviCString & szKey1, const KviCString & szKey2, bool bCaseSensitive)
{
- return kvi_hash_key_equal(szKey1.ptr(), szKey2.ptr());
+ return kvi_hash_key_equal(szKey1.ptr(), szKey2.ptr(), bCaseSensitive);
}
/**