summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-02-01 22:34:04 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-02-01 22:34:04 +0000
commit6d22cfa65a3b77e91d2282d52d37bab9fff3db8d (patch)
treecf474e35756100e8266ebb306d1ed933868d9507 /dbus/dbus-transport.c
parentf023895590208ea70ff7ac7444cc5e0729a3a815 (diff)
2003-02-02 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-server.c: (dbus_server_listen): * dbus/dbus-transport.c: (_dbus_transport_open): ifdef out the calls to the debug transport and server.
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r--dbus/dbus-transport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c
index 88a78dbf..a9860819 100644
--- a/dbus/dbus-transport.c
+++ b/dbus/dbus-transport.c
@@ -217,6 +217,7 @@ _dbus_transport_open (const char *address,
transport = _dbus_transport_new_for_domain_socket (path, FALSE, result);
}
+#ifdef DBUS_BUILD_TESTS
else if (strcmp (method, "debug") == 0)
{
const char *name = dbus_address_entry_get_value (entries[i], "name");
@@ -226,6 +227,7 @@ _dbus_transport_open (const char *address,
transport = _dbus_transport_debug_client_new (name, result);
}
+#endif
else
goto bad_address;