From 4f30e0daff15eda8dfe41bdbab6f7db94236520f Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Tue, 4 Feb 2020 22:25:04 +0100 Subject: [PATCH] httpd: post example: fix typo in last version See bug #57742 Signed-off-by: Simon Goldschmidt --- contrib/examples/httpd/post_example/post_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/examples/httpd/post_example/post_example.c b/contrib/examples/httpd/post_example/post_example.c index 2debe29d..975a7f6e 100644 --- a/contrib/examples/httpd/post_example/post_example.c +++ b/contrib/examples/httpd/post_example/post_example.c @@ -93,7 +93,7 @@ httpd_post_receive_data(void *connection, struct pbuf *p) { err_t ret; - LWIP_ASSERT("NULL pbuf", p = NULL); + LWIP_ASSERT("NULL pbuf", p != NULL); if (current_connection == connection) { u16_t token_user = pbuf_memfind(p, "user=", 5, 0);