From 3180bc13be3cb3fc5e626f6b3b8ce897fdcd52ea Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 24 Feb 2012 11:15:21 +0000 Subject: [PATCH] _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 --- 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 0673a8c..544d00a 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; -- 1.7.9.1