projects
/
platform
/
core
/
api
/
notification.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d33931
)
Add return value check
25/243525/1
author
Jusung Son
<jusung07.son@samsung.com>
Tue, 8 Sep 2020 02:00:36 +0000
(11:00 +0900)
committer
Jusung Son
<jusung07.son@samsung.com>
Tue, 8 Sep 2020 02:00:36 +0000
(11:00 +0900)
Change-Id: I70f76343e6ebebddf0047cc7a95f4c4c5a3808c8
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
notification-ex/shared_file.cc
patch
|
blob
|
history
diff --git
a/notification-ex/shared_file.cc
b/notification-ex/shared_file.cc
index
c860fd1
..
eaef907
100644
(file)
--- a/
notification-ex/shared_file.cc
+++ b/
notification-ex/shared_file.cc
@@
-533,7
+533,10
@@
int SharedFile::RemovePrivateSharing(list<shared_ptr<AbstractItem>> notiList,
LOGE("Failed to remove shared_file(%s)", path_array[i]);
}
}
- g_rmdir(sharing_data.dir.c_str());
+
+ if (g_rmdir(sharing_data.dir.c_str()) != 0)
+ LOGE("Failed to remove sharing directory(%s)(%d)",
+ sharing_data.dir.c_str(), errno);
}
}