Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Alternative pull request with EOL translation in process() #34

Merged
merged 5 commits into from
Sep 14, 2017

Conversation

slcasner
Copy link
Contributor

This is a cleaner solution in that the application does not have to call a separate telnet_translate_eol() function that makes another pass over the data. It also avoids the eol_was_split boolean that must be kept by the application. However, it does touch more of the previously existing code.

slcasner added 5 commits July 22, 2017 00:15
Includes fixing a bug in telnet_translate_eol() for the case where
there are multiple CRLF instances in one buffer.
The translation is enabled by a new bit in telnet_init() flags
parameter.

Remove telnet_translate_eol() since that function is subsumed.
@seanmiddleditch seanmiddleditch merged commit 278f59b into seanmiddleditch:master Sep 14, 2017
@slcasner slcasner deleted the eol-in-process branch October 6, 2017 00:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants