client: use the socket length from getsockname
authorJonas Larsson <jonas at hallerud dot se>
Wed, 5 Jan 2011 10:26:30 +0000 (11:26 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 5 Jan 2011 10:26:30 +0000 (11:26 +0100)
commitb5a1719e89576098809aea59f1a8ddd3cc0a09e8
tree2583cc8661bf7f422a87fbeb00c3bacd9d7f094a
parent220f9118514dd1075655f9f3ec9b9a05585c7318
client: use the socket length from getsockname

Use the length returned by getsockname to perform the getnameinfo call because
the size can depend on the socket type and platform.

Fixes #638723
gst/rtsp-server/rtsp-client.c