mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-25 09:40:42 +02:00
_dbus_transport_new_for_tcp_socket: add missing commas to address
Ralf pointed out that the address doesn't round-trip correctly. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45896 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Tested-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
parent
df80949d92
commit
6a2af7b9a9
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue