]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
improved info status items for the playlist selector
[paraslash.git] / http_send.c
index 285215f9557454fff5c536a7f483185a6958604e..f9345acedb0e76ef8ef0487cd24ec411a35ea53f 100644 (file)
@@ -206,7 +206,7 @@ static int send_queued_packets(struct http_client *hc)
        return 1;
 }
 
        return 1;
 }
 
-static void http_send(__a_unused struct audio_format *af,
+static void http_send(__a_unused struct audio_format_handler *af,
                long unsigned current_chunk,
                __a_unused long unsigned chunks_sent, const char *buf, size_t len)
 {
                long unsigned current_chunk,
                __a_unused long unsigned chunks_sent, const char *buf, size_t len)
 {
@@ -267,7 +267,7 @@ static int host_in_access_perm_list(struct http_client *hc)
        return 0;
 }
 
        return 0;
 }
 
-static void http_post_select(__a_unused struct audio_format *af, fd_set *rfds,
+static void http_post_select(__a_unused struct audio_format_handler *af, fd_set *rfds,
                fd_set *wfds)
 {
        int i = -1, match;
                fd_set *wfds)
 {
        int i = -1, match;
@@ -347,8 +347,8 @@ err_out:
        free(hc);
 }
 
        free(hc);
 }
 
-static void http_pre_select(struct audio_format *af, int *max_fileno, fd_set *rfds,
-               fd_set *wfds)
+static void http_pre_select(struct audio_format_handler *af, int *max_fileno,
+       fd_set *rfds, fd_set *wfds)
 {
        struct http_client *hc, *tmp;
 
 {
        struct http_client *hc, *tmp;
 
@@ -561,6 +561,6 @@ void http_send_init(struct sender *s)
        self = s;
        init_access_control_list();
        if (!conf.http_no_autostart_given)
        self = s;
        init_access_control_list();
        if (!conf.http_no_autostart_given)
-               open_tcp_port(conf.http_port_arg);
+               open_tcp_port(conf.http_port_arg); /* ignore errors */
        PARA_DEBUG_LOG("%s", "http sender init complete\n");
 }
        PARA_DEBUG_LOG("%s", "http sender init complete\n");
 }