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

Change: Use return instead of exit in openvas.c #1155

Merged
merged 3 commits into from
Aug 16, 2022

Commits on Aug 16, 2022

  1. Change: Use return instead of exit

    Use return instead of exit in  openvas.c:openvas() function.
    Also, use macros EXIT_FAILURE and EXIT_SUCCESS instead of 0, 1 or -1, as expected by the main() function in main.c
    jjnicola committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    c9770d6 View commit details
    Browse the repository at this point in the history
  2. Change: make attack_network_init() a int function.

    Used return instead of exit inside function.
    Use the return value in caller function.
    jjnicola committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    be1b380 View commit details
    Browse the repository at this point in the history
  3. Change: make stop_single_task_scan() a int function.

    Used return instead of exit in function.
    Use the return value in caller function.
    jjnicola committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    9b48397 View commit details
    Browse the repository at this point in the history