shadow-maint/shadow

small discrepancy between documentation and code

albert-github opened this issue · 0 comments

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).