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

Diff of /lbbs/src/section_list_loader.c

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

Revision 1.26 by sysadm, Tue Jun 17 13:18:55 2025 UTC Revision 1.28 by sysadm, Fri Jun 20 09:36:58 2025 UTC
# Line 133  int load_section_config_from_db(void) Line 133  int load_section_config_from_db(void)
133                                  break;                                  break;
134                          }                          }
135    
136                          strncpy(p_section->sname, row[1], sizeof(p_section->sname) - 1);                          strncpy(p_section->sname, row[0], sizeof(p_section->sname) - 1);
137                          p_section->sname[sizeof(p_section->sname) - 1] = '\0';                          p_section->sname[sizeof(p_section->sname) - 1] = '\0';
138                          strncpy(p_section->stitle, row[1], sizeof(p_section->stitle) - 1);                          strncpy(p_section->stitle, row[1], sizeof(p_section->stitle) - 1);
139                          p_section->stitle[sizeof(p_section->stitle) - 1] = '\0';                          p_section->stitle[sizeof(p_section->stitle) - 1] = '\0';
# Line 682  int section_list_loader_launch(void) Line 682  int section_list_loader_launch(void)
682                          }                          }
683                          else                          else
684                          {                          {
685                                  log_error("Reload section config successfully\n");                                  log_common("Reload section config successfully\n");
686                          }                          }
687                  }                  }
688    


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

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