* src/login.c: Add missing closing }. This was probably never
noticed because UT_ADDR is never defined.
This commit is contained in:
parent
5b73a0492d
commit
1e3f19ad89
@ -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.
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user