mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +00:00
httpd: post example: fix typo in last version
See bug #57742 Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
parent
a9ac18aebb
commit
4f30e0daff
@ -93,7 +93,7 @@ httpd_post_receive_data(void *connection, struct pbuf *p)
|
|||||||
{
|
{
|
||||||
err_t ret;
|
err_t ret;
|
||||||
|
|
||||||
LWIP_ASSERT("NULL pbuf", p = NULL);
|
LWIP_ASSERT("NULL pbuf", p != NULL);
|
||||||
|
|
||||||
if (current_connection == connection) {
|
if (current_connection == connection) {
|
||||||
u16_t token_user = pbuf_memfind(p, "user=", 5, 0);
|
u16_t token_user = pbuf_memfind(p, "user=", 5, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user