1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-11 15:22:13 +03:00

Merge pull request #880 from JohnSL/sendContent_P-864

Fixing final write length for sendContent_P
This commit is contained in:
Ivan Grokhotkov
2015-10-17 21:23:54 +02:00

View File

@ -222,7 +222,7 @@ void ESP8266WebServer::sendContent_P(PGM_P content) {
} }
else { else {
// reached terminator // reached terminator
contentUnitLen = contentNext - content; contentUnitLen = contentNext - contentUnit;
content = NULL; content = NULL;
} }