Return function != NULL in HashTable_SetHashFunction
This commit is contained in:
parent
31862e60f9
commit
61c1d82e3b
@ -826,7 +826,7 @@ BOOL HashTable_SetHashFunction(wHashTable* table, HASH_TABLE_HASH_FN fn)
|
||||
{
|
||||
WINPR_ASSERT(table);
|
||||
table->hash = fn;
|
||||
return TRUE;
|
||||
return fn != NULL;
|
||||
}
|
||||
|
||||
BOOL HashTable_SetupForStringData(wHashTable* table, BOOL stringValues)
|
||||
|
Loading…
x
Reference in New Issue
Block a user