Ver código fonte

Bug fixes to the HTTP protocol code

tags/v0.9.3
Derek Pryor 18 anos atrás
pai
commit
562ab6d65c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/net/tcp/http.c

+ 1
- 1
src/net/tcp/http.c Ver arquivo

@@ -71,7 +71,7 @@ static void http_connected ( struct tcp_connection *conn ) {
71 71
  * @v conn	a TCP Connection
72 72
  * @v len	the length of data acked
73 73
  */
74
-static void http_acked ( struct tcp_connection *conn, size_t len ) {
74
+static void http_acked ( struct tcp_connection *conn, size_t len __attribute__ ((unused)) ) {
75 75
 	struct http_request *http = tcp_to_http ( conn );
76 76
 
77 77
 	// assume that the whole GET request was sent in on epacket

Carregando…
Cancelar
Salvar