[xiph-commits] r8302 - icecast/branches/kh/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Mon Nov 29 07:16:00 PST 2004


Author: karl
Date: 2004-11-29 07:15:59 -0800 (Mon, 29 Nov 2004)
New Revision: 8302

Modified:
   icecast/branches/kh/icecast/src/fserve.c
   icecast/branches/kh/icecast/src/logging.c
   icecast/branches/kh/icecast/src/logging.h
   icecast/branches/kh/icecast/src/source.c
   icecast/branches/kh/icecast/src/stats.c
Log:
small updates, fserve build problem on FBSD


Modified: icecast/branches/kh/icecast/src/fserve.c
===================================================================
--- icecast/branches/kh/icecast/src/fserve.c	2004-11-29 14:40:25 UTC (rev 8301)
+++ icecast/branches/kh/icecast/src/fserve.c	2004-11-29 15:15:59 UTC (rev 8302)
@@ -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>

Modified: icecast/branches/kh/icecast/src/logging.c
===================================================================
--- icecast/branches/kh/icecast/src/logging.c	2004-11-29 14:40:25 UTC (rev 8301)
+++ icecast/branches/kh/icecast/src/logging.c	2004-11-29 15:15:59 UTC (rev 8302)
@@ -160,7 +160,7 @@
 /* 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;

Modified: icecast/branches/kh/icecast/src/logging.h
===================================================================
--- icecast/branches/kh/icecast/src/logging.h	2004-11-29 14:40:25 UTC (rev 8301)
+++ icecast/branches/kh/icecast/src/logging.h	2004-11-29 15:15:59 UTC (rev 8302)
@@ -89,15 +89,9 @@
 #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__ */
 
 
-
-
-
-
-
-

Modified: icecast/branches/kh/icecast/src/source.c
===================================================================
--- icecast/branches/kh/icecast/src/source.c	2004-11-29 14:40:25 UTC (rev 8301)
+++ icecast/branches/kh/icecast/src/source.c	2004-11-29 15:15:59 UTC (rev 8302)
@@ -262,6 +262,7 @@
     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;
 

Modified: icecast/branches/kh/icecast/src/stats.c
===================================================================
--- icecast/branches/kh/icecast/src/stats.c	2004-11-29 14:40:25 UTC (rev 8301)
+++ icecast/branches/kh/icecast/src/stats.c	2004-11-29 15:15:59 UTC (rev 8302)
@@ -390,6 +390,7 @@
 static void modify_node_event (stats_node_t *node, stats_event_t *event)
 {
     char *str;
+
     if (event->action == STATS_EVENT_HIDDEN)
     {
         if (event->value)



More information about the commits mailing list