From f0a8bcff01cafc5fa846ef88625df3ee656961f3 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 28 Oct 2008 09:18:43 -0400 Subject: Cleaning up improper whitespace --- server/dbus/sssd_dbus_server.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'server/dbus/sssd_dbus_server.c') diff --git a/server/dbus/sssd_dbus_server.c b/server/dbus/sssd_dbus_server.c index c6bc7db9..b489d704 100644 --- a/server/dbus/sssd_dbus_server.c +++ b/server/dbus/sssd_dbus_server.c @@ -48,16 +48,6 @@ struct dbus_server_timeout_context { static int dbus_server_destructor(void **server); -void remove_server_watch(DBusWatch *watch, void *data) { - struct fd_event *fde; - - DEBUG(2, ("%lX\n", watch)); - fde = talloc_get_type(dbus_watch_get_data(watch), struct fd_event); - - /* Freeing the event object will remove it from the event loop */ - talloc_free(fde); -} - /* * dbus_server_read_write_handler * Callback for D-BUS to handle messages on a file-descriptor @@ -261,7 +251,7 @@ static void new_connection_callback(DBusServer *server, DBusConnection *conn, dbus_connection_close(conn); return; } - + connection_type = talloc(dst_ctx, int); *connection_type = DBUS_CONNECTION_TYPE_PRIVATE; dbus_connection_set_data(conn, connection_type_slot, connection_type, talloc_free); @@ -347,7 +337,7 @@ int sssd_new_dbus_server(struct sssd_dbus_ctx *ctx, const char *address) dt_ctx, NULL); if (!dbret) { DEBUG(0,("Error setting up D-BUS server timeout functions")); - dbus_server_set_watch_functions(dt_ctx->server, NULL, NULL, NULL, NULL, NULL); + dbus_server_set_watch_functions(dt_ctx->server, NULL, NULL, NULL, NULL, NULL); talloc_free(dt_ctx->server_talloc); dt_ctx->server = NULL; return EIO; -- cgit