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

Diff of /lbbs/src/login.c

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

Revision 1.20 by sysadm, Tue May 6 05:31:26 2025 UTC Revision 1.21 by sysadm, Tue May 6 12:10:22 2025 UTC
# Line 50  int bbs_login() Line 50  int bbs_login()
50                             "×¢²áÇëÊäÈë`\033[1;31mnew\033[m'): ");                             "×¢²áÇëÊäÈë`\033[1;31mnew\033[m'): ");
51                  iflush();                  iflush();
52    
53                  str_input(username, sizeof(username) - 1, DOECHO);                  str_input(username, sizeof(username), DOECHO);
54                  count++;                  count++;
55    
56                  if (strcmp(username, "guest") == 0)                  if (strcmp(username, "guest") == 0)
# Line 86  int bbs_login() Line 86  int bbs_login()
86                          prints("\033[1;37mÇëÊäÈëÃÜÂë\033[m: ");                          prints("\033[1;37mÇëÊäÈëÃÜÂë\033[m: ");
87                          iflush();                          iflush();
88    
89                          str_input(password, sizeof(password) - 1, NOECHO);                          str_input(password, sizeof(password), NOECHO);
90    
91                          MYSQL *db = db_open();                          MYSQL *db = db_open();
92                          if (db == NULL)                          if (db == NULL)


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

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