summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-15 03:04:28 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-15 03:04:28 +0100
commitfddb94f0e89e8da2e628a2f2af18ced06197af5c (patch)
tree99ee75d7290dc1ad9e73ef57c8d59da696ae76df
parentf3fcb85b20ceeee8b3491b719e65dad5c335b84e (diff)
client: Print message when agent gets released by manager
-rw-r--r--client/agent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/agent.c b/client/agent.c
index be2ab5779..5d52ee690 100644
--- a/client/agent.c
+++ b/client/agent.c
@@ -42,6 +42,10 @@ static DBusMessage *release_agent(DBusConnection *conn,
{
agent_registered = FALSE;
+ begin_message();
+ printf("Agent released\n");
+ end_message();
+
g_dbus_unregister_interface(conn, AGENT_PATH, AGENT_INTERFACE);
return dbus_message_new_method_return(msg);