diff options
author | Rodrigo Moya <rodrigo@gnome-db.org> | 2012-06-07 12:03:29 +0200 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2012-06-07 12:03:29 +0200 |
commit | db3cd89b92b8c2f884851e0415a428570bf82653 (patch) | |
tree | 04ce418ca104c577bc16f31b850f86610a6e09e7 /dbus/dbus-transport-win.c | |
parent | dd218602b38a3af55736c5d6361bf936f066bc89 (diff) | |
parent | f141c260ce4d438299804e89bb77c3bef81ed86b (diff) | |
download | dbus-db3cd89b92b8c2f884851e0415a428570bf82653.tar.gz |
Merge branch 'master' into use-afbus
Diffstat (limited to 'dbus/dbus-transport-win.c')
-rw-r--r-- | dbus/dbus-transport-win.c | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/dbus/dbus-transport-win.c b/dbus/dbus-transport-win.c index faaf1bd2..8fc15749 100644 --- a/dbus/dbus-transport-win.c +++ b/dbus/dbus-transport-win.c @@ -51,39 +51,8 @@ _dbus_transport_open_platform_specific (DBusAddressEntry *entry, DBusTransport **transport_p, DBusError *error) { - const char *method; - - const char *host = dbus_address_entry_get_value (entry, "host"); - const char *port = dbus_address_entry_get_value (entry, "port"); - const char *family = dbus_address_entry_get_value (entry, "family"); - const char *noncefile = dbus_address_entry_get_value (entry, "noncefile"); - - method = dbus_address_entry_get_method (entry); - _dbus_assert (method != NULL); - - if (strcmp (method, "nonce-tcp") != 0) - { - _DBUS_ASSERT_ERROR_IS_CLEAR (error); - return DBUS_TRANSPORT_OPEN_NOT_HANDLED; - } - - if (port == NULL) - { - _dbus_set_bad_address (error, "nonce-tcp", "port", NULL); - return DBUS_TRANSPORT_OPEN_BAD_ADDRESS; - } - - *transport_p = _dbus_transport_new_for_tcp_socket (host, port, family, noncefile, error); - if (*transport_p == NULL) - { - _DBUS_ASSERT_ERROR_IS_SET (error); - return DBUS_TRANSPORT_OPEN_DID_NOT_CONNECT; - } - else - { - _DBUS_ASSERT_ERROR_IS_CLEAR (error); - return DBUS_TRANSPORT_OPEN_OK; - } + /* currently no Windows-specific transports */ + return DBUS_TRANSPORT_OPEN_NOT_HANDLED; } /** @} */ |