From ef5e44b2d3728800ab722d165300a3f78c54ec35 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 13 Jun 2017 21:14:16 +0200 Subject: [PATCH] Fix bug #51230 (Fix comment line) - change tcp_pcb to altcp_pcb --- src/include/lwip/apps/httpd_opts.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/lwip/apps/httpd_opts.h b/src/include/lwip/apps/httpd_opts.h index 98198ce3..86cb1f1d 100644 --- a/src/include/lwip/apps/httpd_opts.h +++ b/src/include/lwip/apps/httpd_opts.h @@ -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))