FKainka / NanoESP

New NanoESP Library
19 stars 9 forks source link

missing return in NanoESP_HTTP::sendStreamHeader #4

Open kampfschlaefer opened 7 years ago

kampfschlaefer commented 7 years ago

Hey,

I peaked into tomorrows calendar program and it fails to start the streaming. I believe that is because NanoESP_HTTP::sendStreamHeader is missing the return statement. Now it always returns nothing, which translates to false in the if-expression in tomorrows code (at least in the version I downloaded some weeks ago).

I added a || true to the if-statement for now, but I don't think thats a future-proof solution ;-)