/[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.55 by sysadm, Tue May 27 00:54:01 2025 UTC Revision 1.59 by sysadm, Thu May 29 01:21:44 2025 UTC
# Line 191  int bbs_center() Line 191  int bbs_center()
191    
192          clearscr();          clearscr();
193    
194          show_top("");          show_top("", BBS_name, "");
195          show_active_board();          show_active_board();
196          show_bottom("");          show_bottom("");
197          display_menu(p_bbs_menu);          display_menu(p_bbs_menu);
# Line 207  int bbs_center() Line 207  int bbs_center()
207    
208                          show_active_board();                          show_active_board();
209                          show_bottom("");                          show_bottom("");
210                            display_menu_cursor(p_bbs_menu, 1);
211                          iflush();                          iflush();
212                  }                  }
213    
# Line 230  int bbs_center() Line 231  int bbs_center()
231                          case REDRAW:                          case REDRAW:
232                                  t_last_action = time(0);                                  t_last_action = time(0);
233                                  clearscr();                                  clearscr();
234                                  show_top("");                                  show_top("", BBS_name, "");
235                                  show_active_board();                                  show_active_board();
236                                  show_bottom("");                                  show_bottom("");
237                                  display_menu(p_bbs_menu);                                  display_menu(p_bbs_menu);
# Line 291  int bbs_main() Line 292  int bbs_main()
292          // Welcome          // Welcome
293          if (bbs_welcome(db) < 0)          if (bbs_welcome(db) < 0)
294          {          {
                 mysql_close(db);  
295                  goto cleanup;                  goto cleanup;
296          }          }
297    
298          // User login          // User login
299          if (bbs_login(db) < 0)          if (bbs_login(db) < 0)
300          {          {
                 mysql_close(db);  
301                  goto cleanup;                  goto cleanup;
302          }          }
303          clearscr();          clearscr();


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

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