]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
net: Drop fd_set parameter from para_accept().
[paraslash.git] / http_send.c
index 987145bf799c6d14d8012ba37d31a3f47edf0ea3..39ef05a1db1a6fbbe86fea8f47153bcb06928366 100644 (file)
@@ -158,7 +158,7 @@ static void http_send(long unsigned current_chunk,
        }
 }
 
-static void http_post_select(fd_set *rfds, __a_unused fd_set *wfds)
+static void http_post_select(__a_unused fd_set *rfds, __a_unused fd_set *wfds)
 {
        struct sender_client *sc, *tmp;
        struct private_http_sender_data *phsd;
@@ -188,7 +188,7 @@ static void http_post_select(fd_set *rfds, __a_unused fd_set *wfds)
                        break;
                }
        }
-       sc = accept_sender_client(hss, rfds);
+       sc = accept_sender_client(hss);
        if (!sc)
                return;
        phsd = para_malloc(sizeof(*phsd));