| 146 |
|
|
| 147 |
for (i = 0; i < section_conf_count; i++) |
for (i = 0; i < section_conf_count; i++) |
| 148 |
{ |
{ |
| 149 |
if (section_list_find_by_name(sname[i]) == NULL) |
if (section_list_find_by_name(sname[i], NULL) == NULL) |
| 150 |
{ |
{ |
| 151 |
printf("section_list_find_by_name(%s) error\n", sname[i]); |
printf("section_list_find_by_name(%s) error\n", sname[i]); |
| 152 |
return -3; |
return -3; |
| 156 |
for (i = 0; i < section_count; i++) |
for (i = 0; i < section_count; i++) |
| 157 |
{ |
{ |
| 158 |
sid = i * 3 + 1; |
sid = i * 3 + 1; |
| 159 |
if (section_list_find_by_sid(sid) == NULL || section_list_find_by_sid(sid)->sid != sid) |
if (section_list_find_by_sid(sid, NULL) == NULL || section_list_find_by_sid(sid, NULL)->sid != sid) |
| 160 |
{ |
{ |
| 161 |
printf("section_list_find_by_sid(%d) error\n", sid); |
printf("section_list_find_by_sid(%d) error\n", sid); |
| 162 |
return -3; |
return -3; |