Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-libshout
Commits
b807c1e2
Commit
b807c1e2
authored
Jun 26, 2019
by
Philipp Schafft
🦁
Browse files
Fix: Do the ICY port increment only when using the ICY implementation
This makes metadata work again on ICY servers. Fixes:
#2310
parent
0ac7ed9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
b807c1e2
...
...
@@ -567,7 +567,7 @@ int shout_connection_connect(shout_connection_t *con, shout_t *s
shout_connection_set_nonblocking
(
con
,
shout_get_nonblocking
(
shout
));
port
=
shout
->
port
;
if
(
shout_get_protocol
(
shout
)
==
SHOUT_PROTOCOL_ICY
)
if
(
con
->
impl
==
shout_icy_impl
)
port
++
;
if
(
con
->
nonblocking
==
SHOUT_BLOCKING_NONE
)
{
...
...
Write
Preview
Supports
Markdown
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