embryo: don't use sizeof() when strlen() is intended

Summary: CID 1402617

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10411
This commit is contained in:
Mike Blumenkrantz 2019-10-18 13:29:20 -04:00
parent 8cef6a9724
commit 7b93d492d6
1 changed files with 1 additions and 1 deletions

View File

@ -2089,7 +2089,7 @@ funcstub(int native)
error(10); /* illegal function or declaration */
return;
} /* if */
assert(sizeof(str) <= sNAMEMAX);
assert(strlen(str) <= sNAMEMAX);
strcpy(symbolname, str);
} /* if */
needtoken('('); /* only functions may be native/forward */