[vlc-commits] udp: fix a debug message

Justin Kim git at videolan.org
Thu Apr 5 17:42:59 CEST 2018


vlc/vlc-3.0 | branch: master | Justin Kim <justin.kim at collabora.com> | Thu Apr  5 13:38:59 2018 +0900| [29fd2b90fdfbb78de05d465e42b481d7c42fe8df] | 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.kim at collabora.com>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 5e6cb3f816e5acdd0bffe5a9cad45f32bc217450)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=29fd2b90fdfbb78de05d465e42b481d7c42fe8df
---

 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 d098fb1425..f8d3bc9805 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -617,7 +617,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;
     }



More information about the vlc-commits mailing list