From 49156e645e695b8c09ba9f613e48a04138b7610f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 27 Apr 2019 05:16:02 +0200 Subject: [PATCH] task_push_decompress - use path_is_valid instead of filestream_exists --- tasks/task_decompress.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/task_decompress.c b/tasks/task_decompress.c index 238197c83c..cbdd374884 100644 --- a/tasks/task_decompress.c +++ b/tasks/task_decompress.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include @@ -291,7 +290,7 @@ bool task_push_decompress( /* ZIP or APK only */ if ( - !filestream_exists(source_file) || + !path_is_valid(source_file) || ( !string_is_equal_noncase(ext, "zip") && !string_is_equal_noncase(ext, "apk")