diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-24 11:15:21 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-06-05 12:18:30 +0100 |
commit | 6a2af7b9a965c4a598ef2ace29b11b006b2c6b0a (patch) | |
tree | a6c0d1d8b234fcb161605bfb70146f34a5f5ab2b | |
parent | df80949d92df8695900f8dda51c1d5ea23bbb6d2 (diff) | |
download | dbus-6a2af7b9a965c4a598ef2ace29b11b006b2c6b0a.tar.gz |
_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>
-rw-r--r-- | dbus/dbus-transport-socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-transport-socket.c b/dbus/dbus-transport-socket.c index 0673a8ce..544d00a9 100644 --- a/dbus/dbus-transport-socket.c +++ b/dbus/dbus-transport-socket.c @@ -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; |