Fixed compilation for LWIP_HTTPD_POST_MANUAL_WND==0

This commit is contained in:
goldsimon 2010-07-06 20:24:36 +00:00
parent 19de161358
commit 5afec09b38
1 changed files with 2 additions and 2 deletions

View File

@ -1437,9 +1437,9 @@ http_post_request(struct tcp_pcb *pcb, struct pbuf **inp, struct http_state *hs,
/* try to pass in data of the first pbuf(s) */
struct pbuf *q = *inp;
u16_t start_offset = hdr_len;
#if LWIP_HTTPD_POST_MANUAL_WND
hs->no_auto_wnd = !post_auto_wnd;
#endif /* LWIP_HTTPD_POST_MANUAL_WND */
/* set the Content-Length to be received for this POST */
hs->post_content_len_left = (u32_t)content_len;