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

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Sep 20 14:21:53 UTC 2008


Author: nekral-guest
Date: 2008-09-20 14:21:51 +0000 (Sat, 20 Sep 2008)
New Revision: 2423

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/login.c
Log:
	* src/login.c: Add missing closing }. This was probably never
	noticed because UT_ADDR is never defined.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-09-20 14:17:20 UTC (rev 2422)
+++ upstream/trunk/ChangeLog	2008-09-20 14:21:51 UTC (rev 2423)
@@ -1,5 +1,10 @@
 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.
+
+2008-09-20  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* src/login.c: Do not mix USE_PAM and !USE_PAM code.
 
 2008-09-20  Nicolas François  <nicolas.francois at centraliens.net>

Modified: upstream/trunk/src/login.c
===================================================================
--- upstream/trunk/src/login.c	2008-09-20 14:17:20 UTC (rev 2422)
+++ upstream/trunk/src/login.c	2008-09-20 14:21:51 UTC (rev 2423)
@@ -484,6 +484,7 @@
 		he = gethostbyname (hostname);
 		if (NULL != he) {
 			utent.ut_addr = *((int32_t *) (he->h_addr_list[0]));
+		}
 #endif
 #ifdef UT_HOST
 			strncpy (utent.ut_host, hostname,




More information about the Pkg-shadow-commits mailing list