summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-11-22 11:57:40 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-22 11:57:40 -0800
commit1b5e8fe3a29d8646486af69e092dac346c8a8db8 (patch)
tree9962432de9f20f8afecba7a3cef1155c422408b4 /src/lib
parent843bee8c779a058c27d4eb792f94178681b84b19 (diff)
ecore_file: restore past behavior and fix ecore_file_download tests.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_file/ecore_file_download.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_file/ecore_file_download.c b/src/lib/ecore_file/ecore_file_download.c
index 3ed475a9fb..406d6cabc9 100644
--- a/src/lib/ecore_file/ecore_file_download.c
+++ b/src/lib/ecore_file/ecore_file_download.c
@@ -194,6 +194,12 @@ ecore_file_download_full(const char *url,
194 return EINA_FALSE; 194 return EINA_FALSE;
195 } 195 }
196 196
197 if (!strstr(url, "://"))
198 {
199 ERR("'%s' is not an URL, missing protocol://", url);
200 return EINA_FALSE;
201 }
202
197 dir = ecore_file_dir_get(dst); 203 dir = ecore_file_dir_get(dst);
198 if (!ecore_file_is_dir(dir)) 204 if (!ecore_file_is_dir(dir))
199 { 205 {