Fork of HttpServer_snapshot_mbed-os library
Fork of HttpServer_snapshot_mbed-os by
Diff: HTTPServer.h
- Revision:
- 10:4ab2f287d06d
- Parent:
- 9:d117d5f84994
- Child:
- 11:0700755d64ae
diff -r d117d5f84994 -r 4ab2f287d06d HTTPServer.h --- a/HTTPServer.h Thu Dec 03 07:57:01 2015 +0000 +++ b/HTTPServer.h Tue Apr 19 02:21:29 2016 +0000 @@ -129,7 +129,7 @@ #ifdef _DEBUG_HTTP_SERVER_H printf("Looking for a handler\r\n"); #endif - map< string, HTTPRequestHandler*(*)(const char*, const char*, TCPSocketConnection*) >::iterator it; + map< string, HTTPRequestHandler*(*)(const char*, const char*, TCPSocketConnection*), handlersComp >::iterator it; int root_len = 0; for (it = m_lpHandlers.begin(); it != m_lpHandlers.end(); it++) { #ifdef _DEBUG_HTTP_SERVER_H