version 1.3, 1999/09/29 21:14:15 |
version 1.4, 1999/09/30 05:43:33 |
|
|
continue; |
continue; |
} |
} |
|
|
#ifdef HAVE_INNETGR |
|
|
|
/* Verify that host name matches. */ |
/* Verify that host name matches. */ |
if (host[0] == '@') |
if (host[0] == '@') |
{ |
{ |
|
|
else |
else |
if (strcmp(user, client_user) != 0) |
if (strcmp(user, client_user) != 0) |
continue; /* Different username. */ |
continue; /* Different username. */ |
|
|
#else /* HAVE_INNETGR */ |
|
|
|
if (!casefold_equal(host, hostname) && strcmp(host, ipaddr) != 0) |
|
continue; /* Different hostname. */ |
|
|
|
if (strcmp(user, client_user) != 0) |
|
continue; /* Different username. */ |
|
|
|
#endif /* HAVE_INNETGR */ |
|
|
|
/* Found the user and host. */ |
/* Found the user and host. */ |
fclose(f); |
fclose(f); |