[Pkg-shadow-commits] r2425 - in upstream/trunk: . src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Sep 20 14:56:12 UTC 2008


Author: nekral-guest
Date: 2008-09-20 14:56:10 +0000 (Sat, 20 Sep 2008)
New Revision: 2425

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/logoutd.c
   upstream/trunk/src/userdel.c
Log:
	* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-09-20 14:39:09 UTC (rev 2424)
+++ upstream/trunk/ChangeLog	2008-09-20 14:56:10 UTC (rev 2425)
@@ -1,5 +1,9 @@
 2008-09-20  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/logoutd.c, src/userdel.c: Re-indent. This helps pmccabe.
+
+2008-09-20  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* src/login.c: Add missing closing }. This was probably never
 	noticed because UT_ADDR is never defined.
 	* src/login.c: Re-indent.

Modified: upstream/trunk/src/logoutd.c
===================================================================
--- upstream/trunk/src/logoutd.c	2008-09-20 14:39:09 UTC (rev 2424)
+++ upstream/trunk/src/logoutd.c	2008-09-20 14:56:10 UTC (rev 2425)
@@ -212,10 +212,11 @@
 		 * 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;
 			}

Modified: upstream/trunk/src/userdel.c
===================================================================
--- upstream/trunk/src/userdel.c	2008-09-20 14:39:09 UTC (rev 2424)
+++ upstream/trunk/src/userdel.c	2008-09-20 14:56:10 UTC (rev 2425)
@@ -592,13 +592,14 @@
 	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;
 




More information about the Pkg-shadow-commits mailing list