X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fagent.c;h=5ae62b23137e3ba5c4994ddda6823a942966f946;hb=a922337a31fab30b2f6af5dd96efb9cb338169fb;hp=586dd14f38165244302a3626fd6b9ccfb213f907;hpb=249a12194decb4b7a06d717bcd5284d1467e759b;p=connman diff --git a/src/agent.c b/src/agent.c index 586dd14..5ae62b2 100644 --- a/src/agent.c +++ b/src/agent.c @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -47,13 +47,11 @@ static void agent_free(void) agent_path = NULL; } -static gboolean agent_disconnect(void *data) +static void agent_disconnect(DBusConnection *connection, void *data) { DBG("data %p", data); agent_free(); - - return TRUE; } int __connman_agent_register(const char *sender, const char *path)