1
0
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:
Me No Dev
2015-11-25 18:11:16 +02:00
parent dea1d46f80
commit a44632b8cf
11 changed files with 45 additions and 39 deletions

View File

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