[vlc-devel] [PATCH] udp: fix a debug message
Justin Kim
justin.kim at collabora.com
Thu Apr 5 06:38:59 CEST 2018
When it fails, it should show which parameters cause
the problem.
Signed-off-by: Justin Kim <justin.kim at collabora.com>
---
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;
}
--
2.16.3
More information about the vlc-devel
mailing list