mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-07 06:01:35 +03:00
make compiler happier
This commit is contained in:
@ -44,10 +44,10 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
String _uri;
|
||||
HTTPMethod _method;
|
||||
ESP8266WebServer::THandlerFunction _fn;
|
||||
ESP8266WebServer::THandlerFunction _ufn;
|
||||
String _uri;
|
||||
HTTPMethod _method;
|
||||
};
|
||||
|
||||
class StaticRequestHandler : public RequestHandler {
|
||||
@ -67,7 +67,7 @@ public:
|
||||
if (requestMethod != HTTP_GET)
|
||||
return false;
|
||||
|
||||
if (_isFile && requestUri != _uri || !requestUri.startsWith(_uri))
|
||||
if ((_isFile && requestUri != _uri) || !requestUri.startsWith(_uri))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user