From: Kevin Day Date: Sun, 2 Jan 2022 04:03:06 +0000 (-0600) Subject: Cleanup: Update comments. X-Git-Tag: 0.5.8~149 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=b1e0874253f5ebcbddccacb781d385c0433db085;p=fll Cleanup: Update comments. --- diff --git a/level_0/f_account/c/account.c b/level_0/f_account/c/account.c index cf5b41c..6063688 100644 --- a/level_0/f_account/c/account.c +++ b/level_0/f_account/c/account.c @@ -175,7 +175,7 @@ extern "C" { const size_t length_max = sysconf(_SC_GETPW_R_SIZE_MAX); - // note: pointer seems pointless except that it is used to determine if the name was found. + // Note: pointer seems pointless except that it is used to determine if the name was found. struct group grp; struct group *pointer; @@ -186,7 +186,7 @@ extern "C" { length = F_account_pwd_length_fallback_first_d; } - // must be set to 0 to avoid problems due to the design of getgrnam()/getgrnam_r(). + // Must be set to 0 to avoid problems due to the design of getgrnam()/getgrnam_r(). errno = 0; char buffer[length]; @@ -252,7 +252,7 @@ extern "C" { const size_t length_max = sysconf(_SC_GETPW_R_SIZE_MAX); - // note: pointer seems pointless except that it is used to determine if the name was found. + // Note: pointer seems pointless except that it is used to determine if the name was found. struct passwd password; struct passwd *pointer = 0; @@ -263,7 +263,7 @@ extern "C" { length = F_account_pwd_length_fallback_first_d; } - // must be set to 0 to avoid problems due to the design of getpwnam()/getpwnam_r(). + // Must be set to 0 to avoid problems due to the design of getpwnam()/getpwnam_r(). errno = 0; char buffer[length];