version 1.27, 2011/01/11 06:06:09 |
version 1.28, 2014/01/31 16:39:19 |
|
|
/* Update lastlog unless actually recording a logout. */ |
/* Update lastlog unless actually recording a logout. */ |
if (strcmp(user, "") != 0) { |
if (strcmp(user, "") != 0) { |
/* |
/* |
* It is safer to bzero the lastlog structure first because |
* It is safer to memset the lastlog structure first because |
* some systems might have some extra fields in it (e.g. SGI) |
* some systems might have some extra fields in it (e.g. SGI) |
*/ |
*/ |
memset(&ll, 0, sizeof(ll)); |
memset(&ll, 0, sizeof(ll)); |