Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
682753ea
Commit
682753ea
authored
Feb 03, 2004
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cleanup
svn path=/trunk/icecast/; revision=5809
parent
aabbde37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
src/admin.c
src/admin.c
+12
-12
src/client.c
src/client.c
+2
-0
No files found.
src/admin.c
View file @
682753ea
...
...
@@ -56,19 +56,19 @@
#define COMMAND_TRANSFORMED_MOVE_CLIENTS 54
/* Global commands */
#define COMMAND_RAW_LIST_MOUNTS 101
#define COMMAND_RAW_STATS 102
#define COMMAND_RAW_LISTSTREAM 103
#define COMMAND_PLAINTEXT_LISTSTREAM 104
#define COMMAND_TRANSFORMED_LIST_MOUNTS 201
#define COMMAND_TRANSFORMED_STATS 202
#define COMMAND_TRANSFORMED_LISTSTREAM 203
#define COMMAND_RAW_LIST_MOUNTS
101
#define COMMAND_RAW_STATS
102
#define COMMAND_RAW_LISTSTREAM
103
#define COMMAND_PLAINTEXT_LISTSTREAM
104
#define COMMAND_TRANSFORMED_LIST_MOUNTS
201
#define COMMAND_TRANSFORMED_STATS
202
#define COMMAND_TRANSFORMED_LISTSTREAM
203
/* Client management commands */
#define COMMAND_RAW_KILL_CLIENT 301
#define COMMAND_RAW_KILL_SOURCE 302
#define COMMAND_TRANSFORMED_KILL_CLIENT 401
#define COMMAND_TRANSFORMED_KILL_SOURCE 402
#define COMMAND_RAW_KILL_CLIENT
301
#define COMMAND_RAW_KILL_SOURCE
302
#define COMMAND_TRANSFORMED_KILL_CLIENT
401
#define COMMAND_TRANSFORMED_KILL_SOURCE
402
#define FALLBACK_RAW_REQUEST "fallbacks"
#define FALLBACK_TRANSFORMED_REQUEST "fallbacks.xsl"
...
...
@@ -465,7 +465,7 @@ static void command_move_clients(client_t *client, source_t *source,
return
;
}
if
(
strcmp
(
dest
->
mount
,
source
->
mount
)
==
0
)
if
(
strcmp
(
dest
->
mount
,
source
->
mount
)
==
0
)
{
client_send_400
(
client
,
"supplied mountpoints are identical"
);
return
;
...
...
src/client.c
View file @
682753ea
...
...
@@ -49,6 +49,8 @@ void client_destroy(client_t *client)
{
refbuf_t
*
refbuf
;
if
(
client
==
NULL
)
return
;
/* write log entry if ip is set (some things don't set it, like outgoing
* slave requests
*/
...
...
Write
Preview
Markdown
is supported
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