witnessmenow / esp8266-alexa-wemo-emulator

multiple belkin wemos switch emulator using ESP8266
GNU General Public License v2.0
132 stars 43 forks source link

Update WemoManager.cpp #25

Open lcp2000 opened 1 year ago

lcp2000 commented 1 year ago

While compiling on Arduino IDE 2.1.1, a warning is generated: WemoManager.cpp:72:24: warning: character constant too long for its type on Line 72:24: if(request.indexOf('M-SEARCH') > 0) {

Updating this line to use double quotes instead of single quotes fixed the warning, i.e.: if(request.indexOf("M-SEARCH") > 0) {