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

client: fix warning suspicious assertion in asyncns #122

Merged
merged 2 commits into from
Mar 7, 2020

Conversation

lynxis
Copy link
Contributor

@lynxis lynxis commented Feb 5, 2020

It seems to be a typo in the check as all other function check for equality between
both arguments.

Fixes: #106

It seems to be a typo in the check as all other function check for equality between
both arguments.

Fixes: wlanslovenija#106
Signed-off-by: Alexander Couzens <[email protected]>
@RalfJung
Copy link
Member

RalfJung commented Feb 5, 2020

It seems to be a typo, I agree. But I'd prefer to be more sure than that, and the code seems to be working fine right now.

@kaechele
Copy link
Contributor

kaechele commented Feb 5, 2020

and the code seems to be working fine right now.

Does it though?
#70
:D

@RalfJung
Copy link
Member

RalfJung commented Feb 5, 2020

The thing is, if the assertion is true with ==, the assignment doesn't change anything.

Copy link
Member

@RalfJung RalfJung left a comment

Choose a reason for hiding this comment

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

Given that we all see to agree that this is a typo, let's just land this.

@RalfJung RalfJung merged commit c930bf2 into wlanslovenija:master Mar 7, 2020
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.

client: suspicious assertion in asyncns.c
3 participants