* src/login.c: Add missing closing }. This was probably never

noticed because UT_ADDR is never defined.
This commit is contained in:
nekral-guest 2008-09-20 14:21:51 +00:00
parent 5b73a0492d
commit 1e3f19ad89
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-09-20 Nicolas François <nicolas.francois@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@centraliens.net>
* src/login.c: Do not mix USE_PAM and !USE_PAM code.

View File

@ -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,