Closed AltairQ closed 4 years ago
Cases in the conditional were switched, now when there is null termination ( scn_header->name[ LEN_SECTION_NAME - 1 ] == false) strlen is used to trim the nulls, otherwise return all 8 characters (LEN_SECTION_NAME).
scn_header->name[ LEN_SECTION_NAME - 1 ] == false
strlen
LEN_SECTION_NAME
Cases in the conditional were switched, now when there is null termination (
scn_header->name[ LEN_SECTION_NAME - 1 ] == false
)strlen
is used to trim the nulls, otherwise return all 8 characters (LEN_SECTION_NAME
).