From 91832e5c0f824666ae10bba83ae11af07f387d03 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 28 Oct 2022 17:34:05 +0200 Subject: [PATCH] Fix dlsym check --- src/common/notifications.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/notifications.cpp b/src/common/notifications.cpp index 544a7312..3f16f6c6 100644 --- a/src/common/notifications.cpp +++ b/src/common/notifications.cpp @@ -72,7 +72,7 @@ bool setup_libdbus() { do { \ lib##name = \ reinterpret_cast(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"); \