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
4d079ba4
Commit
4d079ba4
authored
Jan 21, 2002
by
Jack Moffitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it log to a file when the source gets disconnected
svn path=/trunk/icecast/; revision=2967
parent
b7a114a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/source.c
src/source.c
+5
-0
No files found.
src/source.c
View file @
4d079ba4
...
...
@@ -23,9 +23,13 @@
#include "client.h"
#include "stats.h"
#include "format.h"
#include "logging.h"
#include "source.h"
#undef CATMODULE
#define CATMODULE "source"
/* avl tree helper */
static
int
_compare_clients
(
void
*
compare_arg
,
void
*
a
,
void
*
b
);
static
int
_remove_client
(
void
*
key
);
...
...
@@ -148,6 +152,7 @@ void *source_main(void *arg)
if
(
bytes
<=
0
)
{
printf
(
"DEBUG: got 0 bytes reading data, the source must have disconnected...
\n
"
);
INFO0
(
"Disconnecting lame source..."
);
break
;
}
...
...
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