From edc5e902fc510569a1fd93df36625871f6da85b5 Mon Sep 17 00:00:00 2001 From: kamaljeet Date: Tue, 19 Feb 2019 20:42:34 +0530 Subject: [PATCH] Coverity issue email Change-Id: I9697b13cb1b0b9196713ea5619b4fb11a1d8c28c Signed-off-by: kamaljeet --- email-core/email-storage/email-storage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/email-core/email-storage/email-storage.c b/email-core/email-storage/email-storage.c index 90a9928..238b876 100755 --- a/email-core/email-storage/email-storage.c +++ b/email-core/email-storage/email-storage.c @@ -11841,7 +11841,8 @@ INTERNAL_FUNC int emstorage_create_dir(char *multi_user_name, int account_id, in } if (account_id == EML_FOLDER) - chmod(buf, 0777); + if (chmod(buf, 0777) !=0) + EM_DEBUG_EXCEPTION("chmod failed "); } } -- 2.7.4