[Pkg-shadow-commits] r2119 - upstream/trunk/src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Tue Jun 10 22:10:27 UTC 2008


Author: nekral-guest
Date: 2008-06-10 22:10:21 +0000 (Tue, 10 Jun 2008)
New Revision: 2119

Modified:
   upstream/trunk/src/sulogin.c
Log:
Add brackets.


Modified: upstream/trunk/src/sulogin.c
===================================================================
--- upstream/trunk/src/sulogin.c	2008-06-10 22:09:12 UTC (rev 2118)
+++ upstream/trunk/src/sulogin.c	2008-06-10 22:10:21 UTC (rev 2119)
@@ -219,8 +219,9 @@
 			STRFCPY (pass, cp);
 			strzero (cp);
 		}
-		if (valid (pass, &pwent))	/* check encrypted passwords ... */
+		if (valid (pass, &pwent)) {	/* check encrypted passwords ... */
 			break;	/* ... encrypted passwords matched */
+		}
 
 #ifdef	USE_SYSLOG
 		SYSLOG (LOG_WARN, "Incorrect root password\n");




More information about the Pkg-shadow-commits mailing list