/[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.115 by sysadm, Fri Nov 28 05:05:42 2025 UTC Revision 1.116 by sysadm, Sat Nov 29 01:55:00 2025 UTC
# Line 127  int bbs_logout(void) Line 127  int bbs_logout(void)
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  }  }
# Line 366  int bbs_main() Line 367  int bbs_main()
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)


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

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