Fix bug #51230 (Fix comment line) - change tcp_pcb to altcp_pcb

This commit is contained in:
goldsimon 2017-06-13 21:14:16 +02:00
parent a92e838687
commit ef5e44b2d3

View File

@ -271,7 +271,8 @@
#endif
/* Define this to a function that returns the maximum amount of data to enqueue.
The function have this signature: u16_t fn(struct tcp_pcb* pcb); */
The function have this signature: u16_t fn(struct altcp_pcb* pcb);
The best place to define this is the hooks file (@see LWIP_HOOK_FILENAME) */
#if !defined HTTPD_MAX_WRITE_LEN || defined __DOXYGEN__
#if HTTPD_LIMIT_SENDING_TO_2MSS
#define HTTPD_MAX_WRITE_LEN(pcb) (2 * altcp_mss(pcb))