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
devs/lauromoura/property_revamp
Mike Blumenkrantz 4 years ago
parent 8cef6a9724
commit 7b93d492d6
  1. 2
      src/bin/embryo/embryo_cc_sc1.c

@ -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 */

Loading…
Cancel
Save