From 4c95a9782c65f88e2904c44abeb734a1b00f6353 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 15 Mar 2003 02:19:02 +0000 Subject: 2003-03-14 Havoc Pennington * dbus/dbus-memory.c: add a "detect buffer overwrites on free" cheesy hack * dbus/dbus-transport-debug.c: rework this a good bit to be less complicated. hopefully still works. * dbus/dbus-server-debug.c (handle_new_client): remove timeout manually * glib/dbus-gmain.c (timeout_handler): don't remove timeout after running it * dbus/dbus-message.c (dbus_message_copy): rename from dbus_message_new_from_message, fix it up to copy all the message fields, add test case * bus/dispatch.c (bus_dispatch_test): add some more test code, not quite passing yet --- dbus/dbus-server.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-server.c') diff --git a/dbus/dbus-server.c b/dbus/dbus-server.c index cfcc0dd5..a5e5e2b7 100644 --- a/dbus/dbus-server.c +++ b/dbus/dbus-server.c @@ -145,8 +145,10 @@ _dbus_server_remove_watch (DBusServer *server, } /** - * Adds a timeout for this server, chaining out to application-provided - * timeout handlers. The timeout will fire only one time. + * Adds a timeout for this server, chaining out to + * application-provided timeout handlers. The timeout should be + * repeatedly handled with dbus_timeout_handle() at its given interval + * until it is removed. * * @param server the server. * @param timeout the timeout to add. -- cgit