X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=http_send.c;h=39ef05a1db1a6fbbe86fea8f47153bcb06928366;hb=181beb316afad036ac01a778544c5dec0a8d51c7;hp=c6b9decca941489c82b629982ddb6d6dbdb2ea33;hpb=b3c68fd8519a426d6b6285dcb5a865670285e99a;p=paraslash.git diff --git a/http_send.c b/http_send.c index c6b9decc..39ef05a1 100644 --- a/http_send.c +++ b/http_send.c @@ -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; @@ -170,7 +170,7 @@ static void http_post_select(fd_set *rfds, __a_unused fd_set *wfds) case HTTP_STREAMING: /* nothing to do */ break; case HTTP_CONNECTED: /* need to recv get request */ - ret = read_pattern(sc->fd, HTTP_GET_MSG, MAXLINE, rfds); + ret = read_pattern(sc->fd, HTTP_GET_MSG, MAXLINE); if (ret < 0) phsd->status = HTTP_INVALID_GET_REQUEST; else if (ret > 0) { @@ -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));