Commit bbf1cb70 authored by Ralf Habacker's avatar Ralf Habacker

Windows _dbus_connect_tcp_socket_with_nonce: Keep error code for 'Unknown...

Windows _dbus_connect_tcp_socket_with_nonce: Keep error code for 'Unknown address family' in sync with unix
Reviewed-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922
parent 3c5d2eda
......@@ -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 ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment