Skip to content

Exclude the terminator in sendContent_P #988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2015
Merged

Exclude the terminator in sendContent_P #988

merged 1 commit into from
Nov 10, 2015

Conversation

JohnSL
Copy link
Contributor

@JohnSL JohnSL commented Nov 9, 2015

The terminator should not be sent by sendContent_P. For example, if you
have a null-terminated string, the null itself should not be sent to the
client. This change decrements the number of bytes to send so it does
not include the termination character. This is for Issue #987

The terminator should not be sent by sendContent_P. For example, if you
have a null-terminated string, the null itself should not be sent to the
client. This change decrements the number of bytes to send so it does
not include the termination character.
igrr added a commit that referenced this pull request Nov 10, 2015
Exclude the terminator in sendContent_P
@igrr igrr merged commit 6af4bf5 into esp8266:master Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants