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

small discrepancy between documentation and code #831

Open
albert-github opened this issue Oct 30, 2023 · 0 comments
Open

small discrepancy between documentation and code #831

albert-github opened this issue Oct 30, 2023 · 0 comments

Comments

@albert-github
Copy link

shadow/lib/prototypes.h

Lines 496 to 506 in 5c86700

/**
* @brief Update the cumulative failure log
*
* @param[in] failent_user username
* @param[in] tty tty
* @param[in] host hostname
*
*/
extern void record_failure(const char *failent_user,
const char *tty,
const char *hostname);

small discrepancy between documentation and code (name of parameter is hostname and documentation, in \param, says host in implementation in

shadow/lib/utmp.c

Lines 383 to 385 in 5c86700

void record_failure(const char *failent_user,
const char *tty,
const char *hostname)
it says again hostname).

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

No branches or pull requests

1 participant