Print correct ID for foreign DBus service

By providing an additional layer of pointers, the printed PID was
actually the value at the PID's memory position. 🙈
This commit is contained in:
Benedikt Heine 2018-12-15 18:26:16 +01:00
parent 57a6baae85
commit 63f455276f

View File

@ -549,7 +549,7 @@ static bool dbus_get_fdn_daemon_info(GDBusConnection *connection,
g_variant_unref(daemoninfo);
if (pidinfo) {
g_variant_get(pidinfo, "(u)", &pid);
g_variant_get(pidinfo, "(u)", pid);
g_variant_unref(pidinfo);
return true;
} else {