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-Server
Commits
43658deb
Commit
43658deb
authored
Apr 13, 2016
by
Marvin Scholz
Browse files
Add log message for succesful streamlist requests
parent
a552c6e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/slave.c
View file @
43658deb
...
...
@@ -646,11 +646,13 @@ static int update_from_master(ice_config_t *config)
free
(
data
);
if
(
sock_read_line
(
mastersock
,
buf
,
sizeof
(
buf
))
==
0
||
(
strncmp
(
buf
,
"HTTP/1.0 200"
,
12
)
!=
0
)
&&
(
strncmp
(
buf
,
"HTTP/1.1 200"
,
12
)
!=
0
))
(
(
strncmp
(
buf
,
"HTTP/1.0 200"
,
12
)
!=
0
)
&&
(
strncmp
(
buf
,
"HTTP/1.1 200"
,
12
)
!=
0
))
)
{
sock_close
(
mastersock
);
ICECAST_LOG_WARN
(
"Master rejected streamlist request"
);
break
;
}
else
{
ICECAST_LOG_INFO
(
"Master accepted streamlist request"
);
}
while
(
sock_read_line
(
mastersock
,
buf
,
sizeof
(
buf
)))
...
...
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