Skip to content

Fix minor logic bug in tls.c - #1930

Open
michaelortmann wants to merge 1 commit into
eggheads:developfrom
michaelortmann:logic
Open

Fix minor logic bug in tls.c#1930
michaelortmann wants to merge 1 commit into
eggheads:developfrom
michaelortmann:logic

Conversation

@michaelortmann

Copy link
Copy Markdown
Member

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Fix minor logic bug in tls.c

Additional description (if needed):
the code checked the return value of findsock() against 0 to detect error, when in fact findsock() returns -1.

Test cases demonstrating functionality (if applicable):

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.

1 participant