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

Make ip_is_lan return bool instead of 0/-1. #1137

Merged
merged 1 commit into from
Aug 27, 2018

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Aug 27, 2018

This inverts the truthiness of the return value. Previously, 0 meant
true and -1 meant false. Now, true (1) means true and false (0)
means false.


This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Aug 27, 2018
This inverts the truthiness of the return value. Previously, 0 meant
`true` and -1 meant `false`. Now, `true` (1) means `true` and `false` (0)
means `false`.
Copy link
Member

@robinlinden robinlinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm_strong:

Reviewed 8 of 8 files at r1.
Reviewable status: 0 of 1 approvals obtained

@iphydf iphydf merged commit 0075374 into TokTok:master Aug 27, 2018
@iphydf iphydf deleted the bool-ip-is-lan branch August 27, 2018 19:54
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.7 Aug 30, 2018
This pull request was closed.
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