Skip to content
Snippets Groups Projects
Commit eaab5e0a authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

fixed memory error -- but not sure functionality is correct

Former-commit-id: bc576334a26ac2bd1bd647e57827cce913392d7b
parent 461d84fb
No related branches found
No related tags found
No related merge requests found
......@@ -92,9 +92,8 @@ void MEDS_FuncPrototypeAnnotation::parse()
char *zarg = strstr(buf, arg);
if (zarg)
{
char tmp[maxbufsize];
int meds_type;
sscanf(tmp,"%*s %d %*s", &meds_type);
sscanf(zarg,"%*s %d", &meds_type);
MEDS_Arg marg(meds_type);
addArg(marg);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment