From 6d22cfa65a3b77e91d2282d52d37bab9fff3db8d Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sat, 1 Feb 2003 22:34:04 +0000 Subject: 2003-02-02 Anders Carlsson * dbus/dbus-server.c: (dbus_server_listen): * dbus/dbus-transport.c: (_dbus_transport_open): ifdef out the calls to the debug transport and server. --- dbus/dbus-transport.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbus/dbus-transport.c') 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; -- cgit