mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00

Returning a bool is not useful if we want to create some log information from this. It now returns NULL or a client pointer which is compatible with all of the current users. When dereferencing the returned pointer, a read lock must be acquired around using the returned result as the client may be deallocated from heap otherwise. Signed-off-by: Kai Krakow <kai@kaishome.de>