| 127 |
|
|
| 128 |
display_file(DATA_GOODBYE, 1); |
display_file(DATA_GOODBYE, 1); |
| 129 |
|
|
| 130 |
log_common("User [%s] logout, idle for %ld seconds since last input\n", BBS_username, time(NULL) - BBS_last_access_tm); |
log_common("User [%s] (uid=%d) logout, idle for %ld seconds since last input\n", |
| 131 |
|
BBS_username, BBS_priv.uid, time(NULL) - BBS_last_access_tm); |
| 132 |
|
|
| 133 |
return 0; |
return 0; |
| 134 |
} |
} |
| 367 |
{ |
{ |
| 368 |
goto cleanup; |
goto cleanup; |
| 369 |
} |
} |
| 370 |
log_common("User [%s] login\n", BBS_username); |
log_common("User [%s] (uid=%d) login from %s:%d\n", |
| 371 |
|
BBS_username, BBS_priv.uid, hostaddr_client, port_client); |
| 372 |
|
|
| 373 |
// Load section aid locations |
// Load section aid locations |
| 374 |
if (section_aid_locations_load(BBS_priv.uid) < 0) |
if (section_aid_locations_load(BBS_priv.uid) < 0) |