From 1e3f19ad891cbb89c5a6b5bc180d4359dc54852b Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 20 Sep 2008 14:21:51 +0000 Subject: [PATCH] * src/login.c: Add missing closing }. This was probably never noticed because UT_ADDR is never defined. --- ChangeLog | 5 +++++ src/login.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4fff43ef..4e1c2eea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-20 Nicolas François + + * src/login.c: Add missing closing }. This was probably never + noticed because UT_ADDR is never defined. + 2008-09-20 Nicolas François * src/login.c: Do not mix USE_PAM and !USE_PAM code. diff --git a/src/login.c b/src/login.c index 99a05513..458f9ac1 100644 --- a/src/login.c +++ b/src/login.c @@ -484,6 +484,7 @@ int main (int argc, char **argv) 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,