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

Diff of /lbbs/src/menu.c

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

Revision 1.33 by sysadm, Thu May 8 15:24:59 2025 UTC Revision 1.34 by sysadm, Fri May 9 02:10:01 2025 UTC
# Line 522  int load_menu(MENU_SET *p_menu_set, cons Line 522  int load_menu(MENU_SET *p_menu_set, cons
522                                  {                                  {
523                                          fin_line++;                                          fin_line++;
524    
525                                          memcpy(temp, buffer, sizeof(temp)); // Duplicate line for strtok_r                                          strncpy(temp, buffer, sizeof(temp)); // Duplicate line for strtok_r
526                                          p = strtok_r(temp, MENU_CONF_DELIM_WITH_SPACE, &saveptr);                                          p = strtok_r(temp, MENU_CONF_DELIM_WITH_SPACE, &saveptr);
527                                          if (p != NULL && *p == '%') // END of menu screen                                          if (p != NULL && *p == '%') // END of menu screen
528                                          {                                          {


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

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