rtsp: fix resolving of hostnames
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Mar 2009 15:19:41 +0000 (16:19 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Mar 2009 15:19:41 +0000 (16:19 +0100)
commitf4b7cbbf1639776a4c066b04462bed13d22d02ae
treeecc5c02703990c7b0c4f603278f83a331e3ec5a9
parente863e4ed1b38bdd50cdad9efcdb217a9213ff9b3
rtsp: fix resolving of hostnames

We were returning a pointer to a stack variable with the resolved hostname,
which doesn't work.
return a copy of the resolved ip address instead.
Fixes #575256.
gst-libs/gst/rtsp/gstrtspconnection.c