1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Make it log to a file when the source gets disconnected

svn path=/trunk/icecast/; revision=2967
This commit is contained in:
Jack Moffitt 2002-01-21 03:56:16 +00:00
parent b7a114a191
commit 4d079ba4cc

View File

@ -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;
}