1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-29 04:25:55 -04:00

small updates, fserve build problem on FBSD

svn path=/icecast/branches/kh/icecast/; revision=8302
This commit is contained in:
Karl Heyes 2004-11-29 15:15:59 +00:00
parent 4f105c1afc
commit aac34547d8
5 changed files with 7 additions and 8 deletions

View File

@ -18,6 +18,9 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_POLL
#include <sys/poll.h>

View File

@ -160,7 +160,7 @@ void logging_access(client_t *client)
/* This function will provide a log of metadata for each
mountpoint. The metadata *must* be in UTF-8, and thus
you can assume that the log itself is UTF-8 encoded */
void logging_playlist(char *mount, char *metadata, long listeners)
void logging_playlist(const char *mount, char *metadata, long listeners)
{
char datebuf[128];
struct tm thetime;

View File

@ -89,15 +89,9 @@ extern int playlistlog;
#define LOGGING_FORMAT_CLF "%d/%b/%Y:%H:%M:%S %z"
void logging_access(client_t *client);
void logging_playlist(char *mount, char *metadata, long listeners);
void logging_playlist(const char *mount, char *metadata, long listeners);
void restart_logging (ice_config_t *config);
#endif /* __LOGGING_H__ */

View File

@ -262,6 +262,7 @@ void source_clear_source (source_t *source)
source->max_listeners = -1;
source->yp_public = 0;
source->yp_prevent = 0;
source->hidden = 0;
util_dict_free (source->audio_info);
source->audio_info = NULL;

View File

@ -390,6 +390,7 @@ static stats_event_t *_copy_event(stats_event_t *event)
static void modify_node_event (stats_node_t *node, stats_event_t *event)
{
char *str;
if (event->action == STATS_EVENT_HIDDEN)
{
if (event->value)