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
ac73dff0
Commit
ac73dff0
authored
Aug 21, 2004
by
Karl Heyes
Browse files
Add a couple of warnings, YP code not built and failed streamlist
from master server svn path=/icecast/trunk/icecast/; revision=7599
parent
2a991af1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/slave.c
View file @
ac73dff0
...
...
@@ -358,6 +358,14 @@ static int update_from_master(ice_config_t *config)
free
(
authheader
);
free
(
data
);
if
(
sock_read_line
(
mastersock
,
buf
,
sizeof
(
buf
))
==
0
||
strncmp
(
buf
,
"HTTP/1.0 200"
,
12
)
!=
0
)
{
sock_close
(
mastersock
);
WARN0
(
"Master rejected streamlist request"
);
break
;
}
while
(
sock_read_line
(
mastersock
,
buf
,
sizeof
(
buf
)))
{
if
(
!
strlen
(
buf
))
...
...
src/yp.h
View file @
ac73dff0
...
...
@@ -14,8 +14,6 @@
#ifndef __YP_H__
#define __YP_H__
#include
<stdio.h>
#define YP_SERVER_NAME 1
#define YP_SERVER_DESC 2
#define YP_SERVER_GENRE 3
...
...
@@ -43,7 +41,7 @@ void yp_shutdown();
#define yp_remove(x) do{}while(0)
#define yp_touch(x) do{}while(0)
#define yp_recheck_config(x) do{}while(0)
#define yp_initialize()
do{}while(0
)
#define yp_initialize()
WARN0("YP server handling has been disabled"
)
#define yp_shutdown() do{}while(0)
#endif
/* USE_YP */
...
...
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