浏览代码

Bug fixes to the HTTP protocol code

tags/v0.9.3
Derek Pryor 18 年前
父节点
当前提交
562ab6d65c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/net/tcp/http.c

+ 1
- 1
src/net/tcp/http.c 查看文件

@@ -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

正在加载...
取消
保存