_dbus_listen_tcp_socket: use NI_NUMERICSERV to determine port number
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Feb 2015 13:15:20 +0000 (13:15 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Feb 2015 15:19:42 +0000 (15:19 +0000)
commitd70675e940ab6295e6032e8e7b6362083c35745a
treef5eb1211ef058516c43d5a3d0fb028bffd824c4d
parentffa69bcb55aa49d62a21c6ee64f45c779ff11750
_dbus_listen_tcp_socket: use NI_NUMERICSERV to determine port number

If we happen to have been given (say) port 30865, we want to
represent that as host=localhost,port=30865 and not
host=localhost,port=csync2.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=87999
dbus/dbus-sysdeps-unix.c