Fix dlsym check

This commit is contained in:
Robbert van der Helm
2022-10-28 17:34:05 +02:00
parent 40cff87fb5
commit 91832e5c0f
+1 -1
View File
@@ -72,7 +72,7 @@ bool setup_libdbus() {
do { \
lib##name = \
reinterpret_cast<decltype(lib##name)>(dlsym(handle, #name)); \
if (!(name)) { \
if (!lib##name) { \
logger.log("Could not find '" + std::string(#name) + "' in '" + \
std::string(libdbus_library_name) + \
"', not sending desktop notifications"); \