Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
47a063c8
Commit
47a063c8
authored
Jul 27, 2005
by
Rémi Denis-Courmont
Browse files
Have readable debug message with IPv6 addresses
parent
ab2f29bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/net.c
View file @
47a063c8
...
...
@@ -537,13 +537,13 @@ int __net_OpenUDP( vlc_object_t *p_this, const char *psz_bind, int i_bind,
sock
.
i_server_port
=
i_server
;
sock
.
i_ttl
=
0
;
msg_Dbg
(
p_this
,
"net: connecting to '%s:%d@%s:%d'"
,
msg_Dbg
(
p_this
,
"net: connecting to '
[
%s
]
:%d@
[
%s
]
:%d'"
,
psz_server
,
i_server
,
psz_bind
,
i_bind
);
private
=
p_this
->
p_private
;
p_this
->
p_private
=
(
void
*
)
&
sock
;
if
(
!
(
p_network
=
module_Need
(
p_this
,
"network"
,
psz_network
,
0
)
)
)
{
msg_Dbg
(
p_this
,
"net: connection to '%s:%d@%s:%d' failed"
,
msg_Dbg
(
p_this
,
"net: connection to '
[
%s
]
:%d@
[
%s
]
:%d' failed"
,
psz_server
,
i_server
,
psz_bind
,
i_bind
);
return
-
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment