Eina tmpstr: remove usage of tmpstr_strlen().
authorTom Hacohen <tom@stosb.com>
Mon, 9 Feb 2015 14:02:40 +0000 (14:02 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 9 Feb 2015 14:02:40 +0000 (14:02 +0000)
src/lib/eina/eina_file_common.c

index 2c2406d..fe9ab20 100644 (file)
@@ -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;