* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
This commit is contained in:
parent
54a0762bbb
commit
6b17118e72
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user