summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-02-09 14:02:40 +0000
committerTom Hacohen <tom@stosb.com>2015-02-09 14:02:40 +0000
commit8fbee3fac069f62ce41996fc8f20030ae208ad91 (patch)
tree4791d3f3ec3ade6d39de5ae772e831d5dca5acc0
parentfb8dfe98cd940acade1b6bfe3f15c202b9757380 (diff)
downloadefl-8fbee3fac069f62ce41996fc8f20030ae208ad91.tar.gz
Eina tmpstr: remove usage of tmpstr_strlen().
-rw-r--r--src/lib/eina/eina_file_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 2c2406d939..fe9ab206bb 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;