/[LeafOK_CVS]/lbbs/src/bbs_main.c
ViewVC logotype

Diff of /lbbs/src/bbs_main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.90 by sysadm, Sat Oct 18 06:13:16 2025 UTC Revision 1.92 by sysadm, Sun Oct 19 01:30:38 2025 UTC
# Line 195  int bbs_logout(void) Line 195  int bbs_logout(void)
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  }  }
# Line 300  int bbs_charset_select() Line 300  int bbs_charset_select()
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;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1