mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Add log message for succesful streamlist requests
This commit is contained in:
parent
a552c6e667
commit
43658deb37
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user