agent: Fix bug in UnregisterAgent

This commit is contained in:
Denis Kenzior 2016-05-06 12:39:35 -05:00
parent 1c9550aeb1
commit aa7f88a78c
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ static struct l_dbus_message *agent_unregister(struct l_dbus *dbus,
sender = l_dbus_message_get_sender(message);
if (!strcmp(default_agent->owner, sender))
if (strcmp(default_agent->owner, sender))
return dbus_error_not_found(message);
agent_free(default_agent);