tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b5011fa867efed123986b340b3187c8147ab5524
commit b5011fa867efed123986b340b3187c8147ab5524 Author: Tom Hacohen <t...@stosb.com> Date: Tue Feb 10 09:53:29 2015 +0000 Eina tmpstr: Fix tmpstr_strlen. Weird. This is the code I had, I don't know how it got lost. Good job to Daniel Kolesa for spotting this. --- src/lib/eina/eina_tmpstr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/eina/eina_tmpstr.c b/src/lib/eina/eina_tmpstr.c index a49279b..43824b7 100644 --- a/src/lib/eina/eina_tmpstr.c +++ b/src/lib/eina/eina_tmpstr.c @@ -118,7 +118,8 @@ eina_tmpstr_del(Eina_Tmpstr *tmpstr) EAPI size_t eina_tmpstr_strlen(Eina_Tmpstr *tmpstr) { - return (tmpstr) ? eina_tmpstr_len(tmpstr) : 0; + if (!tmpstr) return 0; + return eina_tmpstr_len(tmpstr) + 1; } EAPI size_t --