oops, eina_stringshare_strlen() should never account '\0'.

SVN revision: 38260
This commit is contained in:
Gustavo Sverzut Barbieri 2008-12-21 06:45:09 +00:00
parent 15a2b2aaf2
commit 765b770f82
1 changed files with 1 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ eina_stringshare_strlen(const char *str)
if (str[3] == '\0') return 3;
node = _eina_stringshare_node_from_str(str);
return node->length;
return node->length - 1;
}
struct dumpinfo