vlc | branch: master | Justin Kim <justin....@collabora.com> | Thu Apr 5 13:38:59 2018 +0900| [5e6cb3f816e5acdd0bffe5a9cad45f32bc217450] | committer: Rémi Denis-Courmont
udp: fix a debug message When it fails, it should show which parameters cause the problem. Signed-off-by: Justin Kim <justin....@collabora.com> Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e6cb3f816e5acdd0bffe5a9cad45f32bc217450 --- src/network/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/udp.c b/src/network/udp.c index 6a590b98c3..d2d643cbbc 100644 --- a/src/network/udp.c +++ b/src/network/udp.c @@ -619,7 +619,7 @@ int net_OpenDgram( vlc_object_t *obj, const char *psz_bind, int i_bind, int val = vlc_getaddrinfo (psz_server, i_server, &hints, &rem); if (val) { - msg_Err (obj, "cannot resolve %s port %d : %s", psz_bind, i_bind, + msg_Err (obj, "cannot resolve %s port %d : %s", psz_server, i_server, gai_strerror (val)); return -1; } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits