Commit 6a2af7b9 authored by Simon McVittie's avatar Simon McVittie

_dbus_transport_new_for_tcp_socket: add missing commas to address

Ralf pointed out that the address doesn't round-trip correctly.

Bug: default avatarSimon McVittie <>
Reviewed-by: Ralf Habacker's avatarRalf Habacker <>
Tested-by: Ralf Habacker's avatarRalf Habacker <>
parent df80949d
......@@ -1337,12 +1337,12 @@ _dbus_transport_new_for_tcp_socket (const char *host,
goto error;
if (family != NULL &&
(!_dbus_string_append (&address, "family=") ||
(!_dbus_string_append (&address, ",family=") ||
!_dbus_string_append (&address, family)))
goto error;
if (noncefile != NULL &&
(!_dbus_string_append (&address, "noncefile=") ||
(!_dbus_string_append (&address, ",noncefile=") ||
!_dbus_string_append (&address, noncefile)))
goto error;
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