agent: Avoid shadowing connection variable
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Jul 2012 22:41:18 +0000 (19:41 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Jul 2012 22:41:18 +0000 (19:41 -0300)
src/agent.c

index b597a4f..52638ac 100644 (file)
@@ -47,7 +47,7 @@ static void agent_free(void)
        agent_path = NULL;
 }
 
-static void agent_disconnect(DBusConnection *connection, void *data)
+static void agent_disconnect(DBusConnection *conn, void *data)
 {
        DBG("data %p", data);