]> granicus.if.org Git - shadow/commitdiff
* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 20 Sep 2008 14:56:10 +0000 (14:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 20 Sep 2008 14:56:10 +0000 (14:56 +0000)
ChangeLog
src/logoutd.c
src/userdel.c

index 831d7677e49c9bf7ca04e850c9898942026a122b..162e2b2ff241d6b012fdeddd0159516cb40931e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 5679d127f25e14385d6865d12c00ccb4b05f7a47..58cdf83669cbf953a872ab4fb3e52f46bae1c8be 100644 (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;
                        }
index b59d58a624d387c62beb6669e3efa63ceceac062..4f6a3f1420a8b1740d64b0071d63203e099d7a33 100644 (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;