Rename struct audio format to audio_format_handler
[paraslash.git] / http_recv.c
index da28faa..5f1d779 100644 (file)
@@ -83,14 +83,14 @@ static void http_shutdown(void)
 static char *make_request_msg(void)
 {
        char *ret, *hn = para_hostname();
-       ret = make_message("%s\nHost: %s\nUser-Agent: para_recv/%s\n\n\n",
+       ret = make_message("%s1.0\nHost: %s\nUser-Agent: para_recv/%s\n\n\n",
                HTTP_GET_MSG, hn, VERSION);
        free(hn);
        return ret;
 }
 
 static int http_pre_select(struct receiver_node *rn, fd_set *rfds, fd_set *wfds,
-       __unused struct timeval *timeout)
+       __a_unused struct timeval *timeout)
 {
        struct private_http_recv_data *phd = rn->private_data;