Skip to content
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

Fixes the infinite-loop-on-eof problem (more proper fix) #1270

Closed
wants to merge 1 commit into from

Conversation

acli
Copy link

@acli acli commented May 27, 2024

This fixes #1266 by checking for success/failure right after doing the getline. The existing checks for kw are conditioned on getline returning success.

This is a more proper fix than #1267 but it changes indentation so it looks like a big change; if you do a git diff -b you’ll see that only 1 line is changed and 3 lines added.

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.

Sample JACK client (sfizz_jack) goes into infinite loop on EOF
1 participant