Skip to content
GitLab
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-IceS
Commits
5509cb64
Commit
5509cb64
authored
Mar 28, 2003
by
Karl Heyes
Browse files
Use the package string from autotools for usage and shout HTTP headers
svn path=/trunk/ices/; revision=4555
parent
f8d1bd94
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ices.c
View file @
5509cb64
/* ices.c
* - Main startup, thread launching, and cleanup code.
*
* $Id: ices.c,v 1.
8
2003/03/2
2
0
2:27:55
karl Exp $
* $Id: ices.c,v 1.
9
2003/03/2
8
0
0:45:54
karl Exp $
*
* Copyright (c) 2001-2002 Michael Smith <msmith@labyrinth.net.au>
*
...
...
@@ -20,8 +20,8 @@
#include
<unistd.h>
#include
"
resolver.h
"
#include
"
thread.h
"
#include
<net/
resolver.h
>
#include
<thread/
thread.h
>
#include
"cfgparse.h"
#include
"stream.h"
...
...
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
if
(
argc
!=
2
)
{
fprintf
(
stderr
,
VERSION
STRING
"
\n
"
fprintf
(
stderr
,
PACKAGE_
STRING
"
\n
"
" (c) Copyright 2001-2002 Michael Smith <msmith@icecast.org>
\n
"
"
\n
"
"Usage:
\"
ices config.xml
\"\n
"
);
...
...
src/stream.c
View file @
5509cb64
/* stream.c
* - Core streaming functions/main loop.
*
* $Id: stream.c,v 1.2
7
2003/03/2
2
0
2:27:55
karl Exp $
* $Id: stream.c,v 1.2
8
2003/03/2
8
0
0:45:54
karl Exp $
*
* Copyright (c) 2001 Michael Smith <msmith@labyrinth.net.au>
*
...
...
@@ -95,7 +95,7 @@ void *ices_instance_stream(void *arg)
return
NULL
;
}
if
(
!
(
shout_set_agent
(
sdsc
->
shout
,
VERSION
STRING
))
==
SHOUTERR_SUCCESS
)
{
if
(
!
(
shout_set_agent
(
sdsc
->
shout
,
PACKAGE_
STRING
))
==
SHOUTERR_SUCCESS
)
{
LOG_ERROR1
(
"libshout error: %s
\n
"
,
shout_get_error
(
sdsc
->
shout
));
stream
->
died
=
1
;
return
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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