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:
parent
8cef6a9724
commit
7b93d492d6
|
@ -2089,7 +2089,7 @@ funcstub(int native)
|
||||||
error(10); /* illegal function or declaration */
|
error(10); /* illegal function or declaration */
|
||||||
return;
|
return;
|
||||||
} /* if */
|
} /* if */
|
||||||
assert(sizeof(str) <= sNAMEMAX);
|
assert(strlen(str) <= sNAMEMAX);
|
||||||
strcpy(symbolname, str);
|
strcpy(symbolname, str);
|
||||||
} /* if */
|
} /* if */
|
||||||
needtoken('('); /* only functions may be native/forward */
|
needtoken('('); /* only functions may be native/forward */
|
||||||
|
|
Loading…
Reference in New Issue