* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.

This commit is contained in:
nekral-guest 2008-09-20 14:56:10 +00:00
parent 54a0762bbb
commit 6b17118e72
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Add missing closing }. This was probably never

View File

@ -212,10 +212,11 @@ int main (int argc, char **argv)
* is permitted to be signed on at this time.
*/
#if HAVE_UTMPX_H
while ((ut = getutxent ()) != NULL) {
while ((ut = getutxent ()) != NULL)
#else
while ((ut = getutent ()) != NULL) {
while ((ut = getutent ()) != NULL)
#endif
{
if (ut->ut_type != USER_PROCESS) {
continue;
}

View File

@ -592,13 +592,14 @@ static void user_busy (const char *name, uid_t uid)
struct utmpx *utent;
setutxent ();
while ((utent = getutxent ()) != NULL) {
while ((utent = getutxent ()) != NULL)
#else
struct utmp *utent;
setutent ();
while ((utent = getutent ()) != NULL) {
while ((utent = getutent ()) != NULL)
#endif
{
if (utent->ut_type != USER_PROCESS)
continue;