Fix portal path handling

This was broken when I recently introduced this helper
function.
This commit is contained in:
Matthias Clasen
2018-09-05 19:54:32 -04:00
parent ab9455ea1b
commit ae2c765ffd

View File

@@ -308,7 +308,7 @@ get_portal_path (GDBusConnection *connection,
if (sender[i] == '.')
sender[i] = '_';
path = g_strconcat (PORTAL_OBJECT_PATH, "/", kind, "/", sender, "/", token, NULL);
path = g_strconcat (PORTAL_OBJECT_PATH, "/", kind, "/", sender, "/", *token, NULL);
g_free (sender);