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:
commit
51595f67fa
@ -222,7 +222,7 @@ void ESP8266WebServer::sendContent_P(PGM_P content) {
|
||||
}
|
||||
else {
|
||||
// reached terminator
|
||||
contentUnitLen = contentNext - content;
|
||||
contentUnitLen = contentNext - contentUnit;
|
||||
content = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user