From 28b6da2a6f53b8255849e3b6511da0c93f8cebfd Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 9 Mar 2018 00:22:05 +0100 Subject: [PATCH] Windows _dbus_connect_tcp_socket_with_nonce: Keep error code for 'Unknown address family' in sync with unix Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922 --- dbus/dbus-sysdeps-win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index b0c35270..40341a20 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -1527,7 +1527,7 @@ _dbus_connect_tcp_socket_with_nonce (const char *host, else { dbus_set_error (error, - DBUS_ERROR_INVALID_ARGS, + DBUS_ERROR_BAD_ADDRESS, "Unknown address family %s", family); return _dbus_socket_get_invalid (); } -- 2.12.3