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

mz: Fix accidental assignment in conditional #217

Merged
merged 1 commit into from
Feb 20, 2020
Merged

mz: Fix accidental assignment in conditional #217

merged 1 commit into from
Feb 20, 2020

Conversation

micrictor
Copy link
Contributor

@micrictor micrictor commented Feb 20, 2020

Discovered via static code analysis courtesy of CodeQL

Corrects the accidental assignment of _c_ to 'c' or 'p' due to a missing equals sign. This enables the proper display of the missing argument error message for all relevant options.

Signed-off-by: Michael R Torres <[email protected]>
@micrictor micrictor changed the title Fix accidental assignment in conditional mz: Fix accidental assignment in conditional Feb 20, 2020
@tklauser tklauser merged commit 8d84c45 into netsniff-ng:master Feb 20, 2020
@tklauser
Copy link
Member

Thanks!

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.

None yet

2 participants