diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-09 20:31:21 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-09 20:31:21 +0000 |
commit | 1708094c0e00ab433bb0a51981f8b77d24aee256 (patch) | |
tree | e30c5ca0f6011bb3f1a083b8a9b49ee778da0cbd /test | |
parent | 0e1945b3889f8be8e31e39ad2b982c8a192be41d (diff) | |
download | dbus-1708094c0e00ab433bb0a51981f8b77d24aee256.tar.gz |
2003-04-09 Havoc Pennington <hp@redhat.com>
* dbus/dbus-bus.c (dbus_bus_register): fix up error handling and
a memory leak
* bus/dispatch.c (check_service_activated): fix bug in test
* dbus/dbus-mainloop.c (check_timeout): fix this up
* dbus/dbus-internals.c (_dbus_verbose_real): include PID in
verbose output so we can sort out output from different processes,
e.g. in the activation case.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-service.c | 2 | ||||
-rw-r--r-- | test/test-utils.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test/test-service.c b/test/test-service.c index 56764dea..732e5b13 100644 --- a/test/test-service.c +++ b/test/test-service.c @@ -154,7 +154,7 @@ main (int argc, dbus_shutdown (); - printf ("*** Test service exiting\n"); + _dbus_verbose ("*** Test service exiting\n"); return 0; } diff --git a/test/test-utils.c b/test/test-utils.c index 62963f38..c7d4aa59 100644 --- a/test/test-utils.c +++ b/test/test-utils.c @@ -34,10 +34,16 @@ connection_watch_callback (DBusWatch *watch, dbus_bool_t retval; dbus_connection_ref (cd->connection); + + _dbus_verbose (" Handling watch\n"); retval = dbus_connection_handle_watch (cd->connection, watch, condition); + _dbus_verbose (" Watch handled\n"); + test_connection_dispatch_all_messages (cd->connection); + + _dbus_verbose (" Dispatched all\n"); dbus_connection_unref (cd->connection); |