Simple HTTP Server with one page index.html stored inside MBED as char vector and javascript to update a table content

Fork of HTTP_SERVER by Akifumi Takahashi

Revision:
3:59884bc0a238
Parent:
2:33714d7c0f45
Child:
6:4eb469f51570
--- a/handlers/ResponseMessenger.cpp	Sat Nov 26 18:06:53 2016 +0000
+++ b/handlers/ResponseMessenger.cpp	Sat Nov 26 18:22:42 2016 +0000
@@ -108,7 +108,7 @@
     
     //  Look for the head of the line to want to remove
     removedLineHead = strstr(header_field_buffer, arg_field_name);
-    if(removedLineHead = NULL) return -1;
+    if(removedLineHead == NULL) return -1;
     //  Look for the first "\r\n" which is the end of the line
     removedLineEnd = strstr(removedLineHead, "\r\n");
     removedLineEnd += 3; //pointing next line head or '\0' if the line of the last one.