From d7258fd37432e4c1817ca46da274b7d56e23f66b Mon Sep 17 00:00:00 2001 From: Lukasz Bardeli Date: Thu, 14 May 2015 07:32:50 +0200 Subject: [PATCH] [MessagingEmail] fix with remove directory from temp [Verification] code compiles without error Change-Id: I0f00142f2873c0c65ce3cf6eba3b84dbbdfd833e Signed-off-by: Lukasz Bardeli --- src/messaging/message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messaging/message.cc b/src/messaging/message.cc index 6406aa6d..797c527f 100644 --- a/src/messaging/message.cc +++ b/src/messaging/message.cc @@ -440,7 +440,7 @@ PlatformResult copyFileToTemp(const std::string& sourcePath, std::string* result PlatformResult removeDirFromTemp(const std::string& dirPath) { - if(EINA_TRUE != ecore_file_rmdir(dirPath.c_str())) { + if(EINA_TRUE != ecore_file_recursive_rm(dirPath.c_str())) { return PlatformResult(ErrorCode::UNKNOWN_ERR, "Unknown error while deleting temp directory."); } return PlatformResult(ErrorCode::NO_ERROR); -- 2.34.1