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
d7dc5d32
Commit
d7dc5d32
authored
Jan 29, 2004
by
Karl Heyes
Browse files
minor cleanup
svn path=/trunk/icecast/; revision=5795
parent
c90fb2ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
d7dc5d32
...
...
@@ -10,7 +10,7 @@ AM_MAINTAINER_MODE
AC_PROG_CC
AC_CANONICAL_HOST
A
M
_PROG_LIBTOOL
A
C
_PROG_LIBTOOL
dnl Set some options based on environment
...
...
@@ -81,8 +81,10 @@ XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$PTHREAD_CPPFLAGS])
XIPH_VAR_PREPEND([XIPH_LIBS],[$PTHREAD_LIBS])
dnl -- YP support --
AC_ARG_ENABLE([yp], AC_HELP_STRING([--disable-yp],[disable YP directory support]),,
[enable_yp="yes"])
AC_ARG_ENABLE([yp],
AC_HELP_STRING([--disable-yp],[disable YP directory support]),
enable_yp="$enableval",
enable_yp="yes")
if test "x$enable_yp" = "xyes"
then
XIPH_PATH_CURL([
...
...
src/connection.c
View file @
d7dc5d32
...
...
@@ -1029,13 +1029,13 @@ static void *_handle_connection(void *arg)
else
if
(
httpp_parse_icy
(
parser
,
header
,
strlen
(
header
)))
{
/* TODO: Map incoming icy connections to /icy_0, etc. */
char
mount
[
20
];
int
i
=
0
;
unsigned
i
=
0
;
strcpy
(
mount
,
"/"
);
avl_tree_rlock
(
global
.
source_tree
);
while
(
source_find_mount
(
mount
)
!=
NULL
)
{
sprintf
(
mount
,
"/icy_%
d
"
,
i
++
);
while
(
source_find_mount
(
mount
)
!=
NULL
)
{
s
n
printf
(
mount
,
sizeof
(
mount
),
"/icy_%
u
"
,
i
++
);
}
avl_tree_unlock
(
global
.
source_tree
);
...
...
@@ -1050,8 +1050,6 @@ static void *_handle_connection(void *arg)
}
}
thread_exit
(
0
);
return
NULL
;
}
...
...
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