Skip to content

Commit

Permalink
Merge pull request #63 from jphickey/fix-62-appname-match
Browse files Browse the repository at this point in the history
Fix #62, correct name match in table build
  • Loading branch information
jphickey authored Nov 16, 2023
2 parents ee06835 + ebc0e3c commit ce4e2b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cfecfs/eds2cfetbl/eds2cfetbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,11 @@ void LoadTemplateFile(lua_State *lua, const char *Filename)
EdsAppNameLen = strlen(EdsAppName);
if (strncasecmp(EdsAppName, CFE_TBL_FileDefPtr->TableName, EdsAppNameLen) == 0)
{
printf("Matched EDS Package Name: %s\n", EdsAppName);
break;
if (!isalpha((unsigned char)CFE_TBL_FileDefPtr->TableName[EdsAppNameLen]))
{
printf("Matched EDS Package Name: %s\n", EdsAppName);
break;
}
}
}

Expand Down

0 comments on commit ce4e2b3

Please sign in to comment.