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

Add documentation for some nasl functions and use nasl_perror() on invalid input #608

Conversation

ArnoStiefvater
Copy link
Member

@ArnoStiefvater ArnoStiefvater commented Oct 16, 2020

What:

Add documentation.
Use nasl_perror() instead of printf when function does not get expected/needed input.

Why:

For easy comprehension of functions and better linting of nasl plugins.

How:

Checklist:

@ArnoStiefvater ArnoStiefvater force-pushed the packet-forgery-functions-documentation branch 4 times, most recently from 167647c to 43bbf5c Compare October 19, 2020 07:16
@ArnoStiefvater ArnoStiefvater changed the base branch from master to openvas-20.08 October 19, 2020 07:18
@ArnoStiefvater ArnoStiefvater force-pushed the packet-forgery-functions-documentation branch from 43bbf5c to de70fa7 Compare October 19, 2020 07:41
@ArnoStiefvater ArnoStiefvater marked this pull request as ready for review October 19, 2020 08:10
@ArnoStiefvater ArnoStiefvater requested a review from cfi-gb October 19, 2020 08:11
@ArnoStiefvater ArnoStiefvater merged commit 143a831 into greenbone:openvas-20.08 Oct 20, 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.

2 participants