* 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>
|
2008-09-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/login.c: Add missing closing }. This was probably never
|
* 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.
|
* is permitted to be signed on at this time.
|
||||||
*/
|
*/
|
||||||
#if HAVE_UTMPX_H
|
#if HAVE_UTMPX_H
|
||||||
while ((ut = getutxent ()) != NULL) {
|
while ((ut = getutxent ()) != NULL)
|
||||||
#else
|
#else
|
||||||
while ((ut = getutent ()) != NULL) {
|
while ((ut = getutent ()) != NULL)
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
if (ut->ut_type != USER_PROCESS) {
|
if (ut->ut_type != USER_PROCESS) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -592,13 +592,14 @@ static void user_busy (const char *name, uid_t uid)
|
|||||||
struct utmpx *utent;
|
struct utmpx *utent;
|
||||||
|
|
||||||
setutxent ();
|
setutxent ();
|
||||||
while ((utent = getutxent ()) != NULL) {
|
while ((utent = getutxent ()) != NULL)
|
||||||
#else
|
#else
|
||||||
struct utmp *utent;
|
struct utmp *utent;
|
||||||
|
|
||||||
setutent ();
|
setutent ();
|
||||||
while ((utent = getutent ()) != NULL) {
|
while ((utent = getutent ()) != NULL)
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
if (utent->ut_type != USER_PROCESS)
|
if (utent->ut_type != USER_PROCESS)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user