httpd: post example: fix typo in last version

See bug #57742

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
Simon Goldschmidt 2020-02-04 22:25:04 +01:00
parent a9ac18aebb
commit 4f30e0daff

View File

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