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:
parent
57a6baae85
commit
63f455276f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user