tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8fbee3fac069f62ce41996fc8f20030ae208ad91

commit 8fbee3fac069f62ce41996fc8f20030ae208ad91
Author: Tom Hacohen <t...@stosb.com>
Date:   Mon Feb 9 14:02:40 2015 +0000

    Eina tmpstr: remove usage of tmpstr_strlen().
---
 src/lib/eina/eina_file_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 2c2406d..fe9ab20 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -353,7 +353,7 @@ eina_file_path_sanitize(const char *path)
    if (eina_file_path_relative(path))
      {
        result = eina_file_current_directory_get(path, len);
-       len = eina_tmpstr_strlen(result) - 1; /* tmpstr lengths include '/0' */
+       len = eina_tmpstr_len(result);
      }
    else
      result = path;

-- 


Reply via email to