summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-24 21:26:25 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-24 21:26:25 +0000
commit1820f3bd0a5a4b0ab14dbcc80ba1b68d2c48e01d (patch)
treee52ad1013416c233db9664fc63041cc106e9ac66 /test
parent0ed8f3f3f32d9dfb965b88cda5735f4e61978590 (diff)
downloaddbus-1820f3bd0a5a4b0ab14dbcc80ba1b68d2c48e01d.tar.gz
2003-04-24 Havoc Pennington <hp@redhat.com>
* bus/dispatch.c: somehow missed some name_is * dbus/dbus-timeout.c (_dbus_timeout_set_enabled) (_dbus_timeout_set_interval): new * bus/connection.c (bus_connections_setup_connection): record time when each connection is first set up, and expire them after the auth timeout passes.
Diffstat (limited to 'test')
-rw-r--r--test/test-service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-service.c b/test/test-service.c
index 9784d3b7..c2757acc 100644
--- a/test/test-service.c
+++ b/test/test-service.c
@@ -77,10 +77,10 @@ filter_func (DBusMessageHandler *handler,
DBusMessage *message,
void *user_data)
{
- if (dbus_message_name_is (message, "org.freedesktop.DBus.TestSuiteEcho"))
+ if (dbus_message_has_name (message, "org.freedesktop.DBus.TestSuiteEcho"))
return handle_echo (connection, message);
- else if (dbus_message_name_is (message, "org.freedesktop.DBus.TestSuiteExit") ||
- dbus_message_name_is (message, DBUS_MESSAGE_LOCAL_DISCONNECT))
+ else if (dbus_message_has_name (message, "org.freedesktop.DBus.TestSuiteExit") ||
+ dbus_message_has_name (message, DBUS_MESSAGE_LOCAL_DISCONNECT))
{
dbus_connection_disconnect (connection);
quit ();