1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +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
commit 51595f67fa

View File

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