guys...null checks are not the end of the world.

SVN revision: 62360
This commit is contained in:
Mike Blumenkrantz 2011-08-11 21:26:46 +00:00
parent 608716961b
commit 3b3f567975
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ eina_str_has_suffix_helper(const char *str,
size_t str_len;
size_t suffix_len;
if ((!str) || (!suffix)) return EINA_FALSE;
str_len = strlen(str);
suffix_len = eina_strlen_bounded(suffix, str_len);
if (suffix_len == (size_t)-1)