| 195 |
|
|
| 196 |
display_file(DATA_GOODBYE, 1); |
display_file(DATA_GOODBYE, 1); |
| 197 |
|
|
| 198 |
log_common("User [%s] logout\n", BBS_username); |
log_common("User [%s] logout, idle for %ld seconds since last input\n", BBS_username, time(NULL) - BBS_last_access_tm); |
| 199 |
|
|
| 200 |
return 0; |
return 0; |
| 201 |
} |
} |
| 300 |
return 0; |
return 0; |
| 301 |
case 'g': |
case 'g': |
| 302 |
case 'G': |
case 'G': |
| 303 |
if (io_conv_init("GBK////TRANSLIT") < 0) |
if (io_conv_init("GBK") < 0) |
| 304 |
{ |
{ |
| 305 |
log_error("io_conv_init(%s) error\n", "GBK////TRANSLIT"); |
log_error("io_conv_init(%s) error\n", "GBK"); |
| 306 |
return -1; |
return -1; |
| 307 |
} |
} |
| 308 |
return 0; |
return 0; |